LangChain + LLama Index (GPT Index) for Document Understanding application
- Use
python 3.10
- Copy file
.env.example
and rename to.env
, paste yourOPENAI_API_TOKEN
there. - You must use tab
GPTIndex Document Embedding
first to generate index from your favorite document, and, then switch toChat GPT_Index
tab to select your indexing and chat with it.
If you want to change the settings, take a look at app.py
for more.
python app.py