This code imports necessary libraries and modules to create an AI-driven chatbot for fitness enthusiasts, named "jim AI". It utilizes the LlamaToolkit, ComposableGraph, GPTSimpleVectorIndex, and other components to build a robust and efficient chatbot capable of answering questions about fitness supplements, nutrition, and more. The chatbot is based on OpenAI's GPT-3.5-turbo model and connects to the PubMed database to fetch relevant research articles. The code is structured to load research papers from PubMed, store them in a memory buffer, define an interactive chatbot agent, and create a Streamlit frontend to take user queries and display responses. The chatbot can be initialized, reloaded with new documents, and used to chat with users in real-time.
-
Notifications
You must be signed in to change notification settings - Fork 2
0xmerkle/pubmed-chatbot-mvp
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published