/blog_streamlit_assistant

An example application showing how to build an AI chatbot with YouTube and PDF using OpenAI Assistant API and Streamlit

Primary LanguagePythonApache License 2.0Apache-2.0

blog_streamlit_assistant

This example application demonstrates how to build an AI chatbot using YouTube and PDF files with the OpenAI Assistant API and Streamlit.

File upload Chat

This application was created as an example for a blog post: https://mikulskibartosz.name/building-a-chatbot-with-a-customgpt-assistant

Setup

  1. Install Python (3.12) and Poetry.
  2. Run poetry install.
  3. Set your OpenAI API key in the .env file.
  4. Run poetry run streamlit run run.py (or use the Visual Studio configuration in .vscode/launch.json).

Limitations

  • No user authentication.
  • One assistant and one vector store for all chats.