You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Gustav von Zitzewitz 4f183d7dc2 add image to readme 1 year ago
.env.template switch to .env credentials 1 year ago
.gitignore allow openai api key to be stored in streamlit secrets as well 1 year ago
LICENSE Add license 1 year ago
README.md add image to readme 1 year ago
app.py add function signature types 1 year ago
constants.py move advanced options to utils.py 1 year ago
datachad.png add image to readme 1 year ago
packages.txt add packages.txt 1 year ago
requirements.txt switch to .env credentials 1 year ago
utils.py add function signature types 1 year ago

README.md

DataChad 🤖

This is an app that let's you ask questions about any data source by leveraging embeddings, vector databases, large language models and last but not least langchains

How does it work?

  1. Upload any file or enter any path or url
  2. The data source is detected and loaded into text documents
  3. The text documents are embedded using openai embeddings
  4. The embeddings are stored as a vector dataset to activeloop's database hub
  5. A langchain is created consisting of a LLM model (gpt-3.5-turbo by default) and the embedding database index as retriever
  6. When sending questions to the bot this chain is used as context to answer your questions
  7. Finally the chat history is cached locally to enable a ChatGPT like Q&A conversation

Good to know

  • As default context this git repository is taken so you can directly start asking question about its functionality without chosing an own data source.
  • To run locally or deploy somewhere, execute cp .env.template .env and set credentials in the newly created .env file. Other options are manually setting of system environment variables, or storing them into .streamlit/secrets.toml.
  • Your data won't load? Feel free to open an Issue or PR and contribute!
  • Yes, Chad in DataChad refers to the well-known meme

How does it look like?