metropolitan-bronze•2y ago
Support for AI models like Perplexity and Mistral
Is it possible for you guys to make LLMs like Mistral and Perplexity available for use in the AI response Output.
I know i can integrate them via APIs steps but i want to respond to the user using both "Prompt and Memory" which works best when we're using a natively supported model
9 Replies
It actually works just fine through the API. You will need to build the body using a Javascript step. You can add the memory from the memory variable within VF.
subsequent-cyan•2y ago
can i directly send memory in functions? or ig gotta save it t a variable before sending
you would need to JSON.stringify(memory) and then JSON.parse(memInputVarName) in the function.
metropolitan-bronzeOP•2y ago
@W. Williams (SFT) thank you for replying. Is there any example in the documentation somewhere which i can follow?
Yes, you can check lastest Daniel video on YouTube: https://youtu.be/skel9AlZnkw?si=4bztI6nC0RigMU9m
Voiceflow
YouTube
Using Voiceflow with Mistral AI or Open Sourced AI Model
Did you know you can use Voiceflow's Knowledge Base as a Vector Database with Open Sources Models like Mistral AI or 3rd party models like Perplexity?
This tutorial goes over how to use our new functions feature to search the Voiceflow Vector Database and send relevant chunks to a 3rd party model like Mistral AI.
Voiceflow lets you build compl...
genetic-orange•2y ago
heres also a video on accessing that memory object
https://youtu.be/7ApcugbrvfY?feature=shared
We're currently investigating how to make that easier aswell
Voiceflow
YouTube
Adding Memory to the Knowledge Base in Voiceflow
This tutorial walks through how to access the memory object inside of Voiceflow! This way you can choose when you want to pass it in or manipulate it further for more advanced use cases (like selectively passing certain aspects of memory to the assistant).
NOTE: The memory object in Voiceflow contains the last 10 messages of the conversation, i...
metropolitan-bronzeOP•2y ago
Thank you so much. These tutorials are super useful and so is the recent update about functions.
harsh-harlequin•2y ago
what does each do? and how many turns does it save?
genetic-orange•2y ago
The memory object stores the last 10 messages 🙂
Its a hidden object (we’re working on making it easier to use)