SimpleChatbot / chainlit.md
NandyG's picture
Moved project from github and created dockerfile
a09c762
|
Raw
History Blame Contribute Delete
2.15 kB

๐Ÿค– ChatBot

This project is a simple ChatBot built using Chainlit, a Python library for quickly building chat applications. Chainlit provides a wide range of features that make it easy to develop interactive and engaging chatbots. ๐Ÿš€

๐ŸŒŸ Features

  • Easy to use: Similar interface to ChatGPT. ๐ŸŽฎ
  • Customizable: You can easily customize the behavior and responses of your ChatBot to suit your specific requirements. ๐Ÿ› ๏ธ
    • Models: Choose models that you want (Only OpenAI models are supported for now) ๐Ÿง 
    • Temperature: Alter the temperature as per your need and continue the conversation ๐ŸŒก๏ธ
    • Stream Answers: Control streaming of answers. ๐Ÿ“ก
    • Chat Window Size: Control no of chat that you want to use for further communications. This helps staying within the context window of the model ๐Ÿ–ฅ๏ธ
  • Microphone Support: ChatBot can use your microphone instead of keyboards for chats. (Permission Required) ๐ŸŽค
  • Multiple Chats: Multiple Chats in single window is disabled for now since it required to store chats in chainlit account for data persistent. Quick Work Around is to open the chatbot in new tabs. ๐Ÿ’ฌ

โš™๏ธ Usage

  1. You will be prompted for OpenAI API Key for the first time. To use this ChatBot, the above API key is required. The key is stored on your device's local storage. ๐Ÿ”‘
  2. Select a persona of your choice. ๐ŸŽญ
    1. Factful - AI will try to stick to facts while giving answers instead of creating an answer on its own. ๐Ÿ“š

      Note: LLMs are not reliable yet. so do not trust the answers from LLM blindly. This option is to instruct LLM to use facts but does not gurentee.

    2. Creative - AI will try to generate new ideas and be creative as much as possible in its replies. ๐Ÿ’ก
    3. Normal - Some conversations does not need to stick to facts or more creative answers. (Default) ๐Ÿ—ฃ๏ธ
  3. Open Chat Settings and configure settings as per your need. For more information on each settings. refer Feature section above. โš™๏ธ
  4. You can use history and microphone features as and when needed. ๐ŸŽง

Happy Chatting!! ๐Ÿ˜„