Skip to content

The LED Chatbot is an AI-powered chatbot designed to extract and provide information exclusively from textbooks. It combines React for the frontend, Flask for the backend, and uses OpenAI for data extraction and querying, delivering accurate and visually engaging responses.

License

Notifications You must be signed in to change notification settings

mcyandex/education-chatbot-llamaIndex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

63 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LED Chatbot Project 💬💡📚

ScreenRecording2024-02-25at3 20 34PM-ezgif com-video-to-gif-converter(1)

Example Use Case 💭

Screenshot 2024-02-25 at 3 18 56 PM

Inspiration 🚀

The LED Chatbot project draws inspiration from the current climate of AI use in the classroom. Embracing the challenge of building a chatbot that utilizes only textbook information, we aimed to create a visually striking and innovative user experience by incorporating bright neon lights and colors into the design, due to the Hackathon theme.

What it does 🌟

The chatbot is designed to extract information exclusively from a given textbook and provide relevant responses. We took textbook PDFs, transformed them into queryable embeddings, and stored them in a vector index that our OpenAI calls can extract data from.

How we built it 🛠️

Our journey was made possible by combining the power of React for the frontend, Flask for the backend API, and UnstructuredIO, Llama-Index, and OpenAI for the data extraction and query.

Challenges we ran into 🤔

Using Docker containers to separate the two sides of the project – frontend and backend – gave us difficulties with communication. This technology was new to most of our group members, and we spent a lot of time debugging.

Accomplishments that we're proud of 🎉

We're immensely proud of successfully blending technologies such as React, Flask, and OpenAI into a cohesive and visually appealing chatbot. The project represents a seamless fusion of functionality and aesthetics, achieving a balance between information retrieval and an engaging user experience.

What we learned 🧠

We delved into the world of chatbot development, React, Flask, Docker, and OpenAI API, gaining valuable insights into the interplay of frontend design and backend logic.

What's next for LED Chatbot 🚀

We are looking into allowing user input textbooks which our current chatbot does not allow. This is due to the longer computation time and resources it takes to extract data by user request. We would also want image recognition during the data extraction phase.

Built With 🛠️

  • React
  • Flask
  • OpenAI API
  • Llama Index
  • Docker

About

The LED Chatbot is an AI-powered chatbot designed to extract and provide information exclusively from textbooks. It combines React for the frontend, Flask for the backend, and uses OpenAI for data extraction and querying, delivering accurate and visually engaging responses.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published