Giter Club home page Giter Club logo

intellichat's People

Contributors

barqawiz avatar bashar998 avatar eytyy avatar intelligentnode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

intellichat's Issues

Implement onekey

[✓] Add one key to the settings.
[✓] Get the one key from the query and enable the settings if sent.
[✓] Add the new cohere model to the list.
[✓] Update chat API to pass in the one_key

create chatbot API

  • Create the chatbot API.
  • Add settings to choose the model provider.
  • Connect the UI to the API.

chat context doesn't work when replicate is the selected model

Using ChatContext when selecting replicate as the model throws an Error; the RemoteEmbedModel only accepts openai and cohere as the SupportedEmbedModels for providers. Should we always pass OpenAI as the provider to ChatContext regardless to the selected model?

Add Azure Openai option

Azure Openai provides an extra layer of privacy, this is supported in the intelliNode chatbot and we want to integrate this with the chat UI.

The UI impact:

  • Add option in the models dropbox called: Azure Opneai
  • Show 4 text boxes when this option is selected:
    [ ] API key.
    [ ] Resource name.
    [ ] Chatbot model name.
    [ ] Embedding model name.

Azure Integration Sample:
https://github.com/intelligentnode/IntelliNode/blob/main/samples/command_sample/test_azure_chatbot.js

Note that the default chatbot mode should be the regular openai, this is added as another option similar to replicate.

improve chat history strategy

  • Set max number (n) of message sent in a request
  • Make the max number of messages configurable from the chat settings UI

improve chat history to use the new ChatContext function

  • update the chat mutationFn to include the maximum number of messages in the request payload
  • update the chat route to use the new ChatContext function
  • update the chat route to pass the ChatContext function response to the addMessages util function instead of the payload's messages

Add demo video

Add a show case video for the multi providers functionality.

Add sagemaker option to IntelliChat UI

Intellinode provides a chatbot with Sagemaker llama backend as described in this wiki.

The required work to update the UI with Sagemaker is as follows:

  • Add Sagemaker option in the dropbox.
  • Display a drop-down list with one selection: llama.
  • Display a textbox with url title.

The backend:
When they send a message with SageMaker selection, call the relevant module from intellinode.

project initial setup

  • Configure eslint and prettier.
  • Configure tailwind.
  • install intellinode and basic type definitions for chat.
  • Configure shadcn and radixui.
  • Write a minimal Github CI file for typescript type checking and linting.

create chatbot UI

Create an initial UI skeleton for the chatbot page and components

Improve the UX/UI for chat settings and Replicate's embeddings

  • Persist the chat settings' state in localStorage.
  • Add tooltips where needed.
  • Add conditional rendering depending on the selected chat provider:
  • Display the relevant API key field based on the selected provider,
  • Display an option to select whether to use chat context (embeddings) or not when Replicate is selected,
  • Display the OpenAI API key field when both Replicate provider and chat context are selected,
  • Chat context is enabled by default when using OpenAI.

allow overriding API keys from the chat settings UI

  • Update the chat settings UI to include the APIKeys fields.
  • Update the request to include the keys in the request body.
  • Update the chat API route to accept an option APIKeys property and use those if provided instead of the keys defined in environment variables.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.