A simple question answering chatbot that responds as per a given prompt
- Google Generative AI (Gemini)
- Langchain
- Chainlit
- Create a project with Python script file
app_chatbot.py
(code for this chatbot) - The file
chainlit.md
is the Readme (welcome screen), it appears on first start of app - Set up a Python 3.8.0 virtual environment (using Anaconda or Miniconda) and install pre-requisite libraries, frameworks and modules
- Run the project with the command
chainlit run app_chatbot.py -w
(-w
flag used to auto reload the page. If any change is done to the Python script or the MD file it gets updated accordingly)