national-gold•17mo ago
Connecting to my OpenAI assistant rather then Voiceflows AI?
Is there a way to do this? Happy to use voiceflows ai for llm intent classification, but a client wants to control the prompts and connect their own assistant. Cant find a straight forward way to do this so any help would be appriciated!
7 Replies
You use an API step to connect to the OpenAI API.
You can also write a function to do it.
unwilling-turquoise•17mo ago
It’s a bit cumbersome doing it with the API blocks as far as I’ve seen it done. And it can be a bit slow and inconsistent calling the assistants API. And get a bit pricey if you are using longer prompts. I was asking someone else earlier for a video or some info on how to write a function that does it though. It would be good to compare doing it through a function to doing it through the API blocks.
Happy to provide you with a function to do this. Just DM me.
national-gold•17mo ago
@W. Williams (SFT) have you gotten it to work with assistants v2?
metropolitan-bronze•16mo ago
Just out of curiosity, why use Assistants API over Voiceflow?
Whats the use case there?
other-emerald•16mo ago
I get the use case, you build the assistant once on the OpenAI side and connect it from different interfaces, that's what I would assume @MikeG
metropolitan-bronze•16mo ago
Ah ok, makes sense 🙂