Skip to content

Build a chatbot powered by LlamaIndex that augments Google Gemini with the works of Rabindranath Tagore (or your own data).

Notifications You must be signed in to change notification settings

charith1980/chatbot-workshop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🦙📚 LlamaIndex Chatbot with Google Gemini

Build a chatbot powered by LlamaIndex that augments Google Gemini with local documents. Based on the chatbot described in this blog post.

Overview of the App

  • Takes user queries via Streamlit's st.chat_input and displays both user queries and model responses with st.chat_message
  • Uses LlamaIndex to load and index data and create a chat engine that will retrieve context from that data to respond to each user query

Demo App

https://sjsu-chatbot-workshop.streamlit.app/

Build your own copy

Follow the steps in the workshop slides at https://tiny.sjsu.edu/chatbot-workshop

Caution

Don't commit your secrets file to your GitHub repository. The .gitignore file in this repo includes .streamlit/secrets.toml and secrets.toml.

Try out the app

Once the app is loaded, enter your question about the Streamlit library and wait for a response.

Source texts

The demo version of the chatbot uses texts from the writer Rabindranath Tagore. These texts are available from Project Gutenberg.

About

Build a chatbot powered by LlamaIndex that augments Google Gemini with the works of Rabindranath Tagore (or your own data).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%