Skip to content

IntelliNode v1.7.2

Compare
Choose a tag to compare
@intelligentnode intelligentnode released this 04 Jan 18:55
· 88 commits to main since this release
223bd06

New Changes 🌟

  • Add Mistral AI's embedding and text generation models.
  • Expand the chatbot versatility by adding Mistral AI model as provider.
  • Resolve an issue integrating semantic search with Next.js applications.

Using the New Features 💻

  1. Obtain your Mistral API key from mistral.ai.

  2. Import the chatbot functions:

const { Chatbot, MistralInput, SupportedChatModels } = require("intellinode");
  1. Initiate the Chatbot with MISTRAL provider.
// Initialize the Mistral chatbot
const mistralBot = new Chatbot(mistralApiKey, SupportedChatModels.MISTRAL);

// Create your art assistant input
const input = new MistralInput("You are a helpful art assistant.");
input.addUserMessage("Who is the most renowned Italian painter?");

// Retrieve and log chatbot responses
const responses = await mistralBot.chat(input);

Available chatbot providers

  • SupportedChatModels.OPENAI
  • SupportedChatModels.REPLICATE
  • SupportedChatModels.SAGEMAKER
  • SupportedChatModels.COHERE
  • SupportedChatModels.MISTRAL

Contributors