- Install:
poetry install
- Set up the environment:
export OPENAI_API_KEY=<your openai api key>
export COHERE_API_KEY=<your cohere api key>
export TRACELOOP_API_KEY=<your traceloop api key>
You can connect OpenLLMetry to other platform by following one of the guides here.
- Run any of the demos like this:
poetry run streamlit run llamaindex-demo/<demo name>.py
Demos:
-
poetry run streamlit run llamaindex-demo/chat.py
- An interactive chat allowing you to ask questions about Paul Graham's indexed essays. -
poetry run streamlit run llamaindex-demo/query-rewriting.py
- Demonstrating multi-step RAG pipeline with query rewriting and re-ranking. -
poetry run streamlit run llamaindex-demo/agent.py
- Demonstrating an autonomous agent with LlamaIndex.