https://openai-chat-with-docs.streamlit.app/
The application is using OpenAI's gpt-4o-mini model to answer questions about the content of one or more files that contain text. Uploaded files are chunked into smaller pieces and each piece is embedded using the LangChain OpenAIEmbeddings() class. The embeddings are temporarily saved in a Chroma vector store. The user can then ask questions about the content of the data and the application will return an answer. You will need a valid OpenAI API key to use this application. Using the OpenAI API is not free and you will be charged for the number of tokens used. The application will show you the number of tokens used and the approximate cost of the embeddings as of September 2024.
This is an experimental proof of concept (POC) application and the results are not guaranteed to be accurate and could be misleading or even wrong. You can and should never blindly trust the answers given by Large Language Models (LLMs). Always verify the answers yourself.