Closed ai-made-approachable closed 5 months ago
Link to Mistral documentation: https://docs.mistral.ai
Idea: Add all integrations that use the Open AI API format as templates for the chat-node So you would first select the provider, e.g. "OpenAI" or "Mistral" and than depending on that provider you have slightly different options for the node. E.g. no presence_penalty + frequency_penalty parameters for Mistral
Overloading the chat node like that would make it ever more complicated than it already is unfortunately... I'll have to think of a good solution that doesn't overcomplicate the node...
In 70fa4cea9f25a6c82a2c9ec7fa1f7ef8d1624ec5 you can remove the presence penalty and frequency penalty params and they don't get sent to the API. By default they're unset, as well.
Feature Request
Mistral is offering an API now (based on OpenAPIs API). Interesting thing is that mistral-small (Mixtral-8x7b) outperforms ChatGPT 3.5 and is cheaper (0,0018 €/1k Tokens instead of 0,0020 €/1k Tokens for gpt 3.5-turbo). So it makes only sense to support it as an alternative.
Note: Currently use is NOT possible with the existing chat-node: The API fails if you add the fields "frequence_penalty" and "presence penalty" and there is no way to not send them via Rivet Chat node.
Example:
Code of Conduct