hey admins I am Nikhil I am working on a
# general-english
n
hey admins I am Nikhil I am working on a project for my hackathon I want to use vapi but the thing is I don't want to use it as an AI I just want to use its medium that speaks what my custom AI will say by text so is it possible if Yes how can I plug in with my custom AI will there is a document and tutorial anything makes me understand it would be helpful
k
Yes, you can use Vapi as a voice interface for your custom AI by integrating it with your own backend..
p
You need custom LLM, here's the example: https://github.com/VapiAI/example-custom-llm
you must return
StreamingResponse
k
Go to your vapi dashboard, navigate to the model section then select llm and enter the public URL of your server..
n
ok thanks i will try it out
p
you can use https://pinggy.io/ to expose your endpoint for vapi
from local
n
ok
so i have to use pinggy to connect vapi and my custom AI api
p
if its hosted - no, for local environment - yes
n
ok i get it
thanks alot
I will find the model selection under assistants, right?
p
yes, chose custom llm, add pingy or other url into Custom LLM URL
p
you need endpoint from example I gave you
and then url to it
n
ok i get it
thanks