Skip to content

traceloop/llamaindex-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LLamaIndex + OpenLLMetry observability demo

  1. Install:
poetry install
  1. 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.

  1. Run any of the demos like this:
poetry run streamlit run llamaindex-demo/<demo name>.py

Demos:

  1. poetry run streamlit run llamaindex-demo/chat.py - An interactive chat allowing you to ask questions about Paul Graham's indexed essays.

  2. poetry run streamlit run llamaindex-demo/query-rewriting.py - Demonstrating multi-step RAG pipeline with query rewriting and re-ranking.

  3. poetry run streamlit run llamaindex-demo/agent.py - Demonstrating an autonomous agent with LlamaIndex.

About

A small demo of LlamaIndex app with OpenLLMetry tracing

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages