Interact with text files model

I have a bank of text files. I want to create a model using OPENAI that can interact with these text files. That is, I want to ask it natural language questions about the text files and receive an output that answers my questions based on the text files. How should i go about this?

Creating embeddings with a vector database are the best way to chat about your documents.

LangChain is the easiest way to get started:
https://python.langchain.com/docs/use_cases/question_answering.html

3 Likes