IntelliNode v1.7.7
New Changes 🌟
- Expand our list of supported models to include Google Gemini chat and vision.
- Add Gemini as a provider for the chatbot function.
- Add fine-tuning function starting with chatGPT.
Using the New Features 💻
Example to call Gemini chatbot:
const { Chatbot, GeminiInput, SupportedChatModels } = require('intellinode');
const chatbot = new Chatbot(apiKey, SupportedChatModels.GEMINI);
// prepare the input
const input = new GeminiInput();
input.addUserMessage('What is the distance between the Earth and the Moon?');
// get the responses
const responses = await chatbot.chat(input);
// print all candidates
responses.forEach(response => console.log('- ', response));
Available chatbot providers
- SupportedChatModels.OPENAI
- SupportedChatModels.REPLICATE
- SupportedChatModels.SAGEMAKER
- SupportedChatModels.COHERE
- SupportedChatModels.MISTRAL
- SupportedChatModels.GEMINI