Skip to content

IntelliNode v1.6.3

Compare
Choose a tag to compare
@intelligentnode intelligentnode released this 03 Jan 08:45
· 112 commits to main since this release
e2fe86d

New Changes 🌟

  • Create document agents by using a chatbot with intellinode one key, allowing you to chat with your files and documents. With this update, you can get answers related to PDF, word, epub, image, JSON, and any text file with minimum configurations.

Code Examples 💻

  1. Upload your documents to indellinode.ai cloud and generate one key.
  2. Create the chatbot with one key and get answers related to your documents.
const oneKey = process.env.INTELLI_ONE_KEY

// openai bot
const openaiBot = new Chatbot(openaiKey, SupportedChatModels.OPENAI, null, 
          {oneKey:oneKey});


// llama bot
const replicateBot = new Chatbot(replicateApiKey, SupportedChatModels.REPLICATE, null, 
          {oneKey:oneKey});


// cohere bot
const bot = new Chatbot(process.env.COHERE_API_KEY, SupportedChatModels.COHERE, null,
                  {oneKey:oneKey}); 
  1. Example to get the naswers
const input = new ChatGPTInput("You are a helpful astronomy assistant.");
input.addUserMessage("Tell me about the Mars the Red Planet? summarize the context");
// get chatbot responses
const responses = await bot.chat(input);

Note that the one key access is limited seats at the moment, register on the intellinode.ai waiting list for an early trial.