/docsbot

Primary LanguageSvelte

Docsbot

Ask questions to your markdown documents:

  • Upload your markdown documents
  • They are converted to embeddings using Chromadb
  • You ask a question
  • Your question is converted to embedding and the app gets the more similar documents from the vector database
  • The app asks OpenAI API to answer the original question, providing the retrieved documents.
  • You have your answer!
Screen Shot 2023-05-27 at 19 11 27

Setup

Create a .env file with your OpenAI Api key, and the url of your python server, and put it inside webapp folder. Your file should look like this:

SECRET_OPENAI_API_KEY="sk-XXXX"
PUBLIC_PROCESS_FILES_SERVER="http://127.0.0.1:5000"

TechStack

Youtube video

This project is explained in detail here:https://www.youtube.com/watch?v=rtX8oqolN8s (Spanish)