{"id":18947244,"url":"https://github.com/traceloop/llamaindex-demo","last_synced_at":"2026-03-26T21:30:20.293Z","repository":{"id":224074274,"uuid":"762330039","full_name":"traceloop/llamaindex-demo","owner":"traceloop","description":"A small demo of LlamaIndex app with OpenLLMetry tracing","archived":false,"fork":false,"pushed_at":"2024-02-27T14:54:06.000Z","size":527,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-01T00:45:12.172Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/traceloop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-23T14:56:39.000Z","updated_at":"2024-12-13T16:04:06.000Z","dependencies_parsed_at":"2024-02-23T16:51:04.184Z","dependency_job_id":null,"html_url":"https://github.com/traceloop/llamaindex-demo","commit_stats":null,"previous_names":["traceloop/llamaindex-demo"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traceloop%2Fllamaindex-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traceloop%2Fllamaindex-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traceloop%2Fllamaindex-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/traceloop%2Fllamaindex-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/traceloop","download_url":"https://codeload.github.com/traceloop/llamaindex-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239946875,"owners_count":19723014,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T13:09:22.642Z","updated_at":"2026-03-26T21:30:20.193Z","avatar_url":"https://github.com/traceloop.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## LLamaIndex + OpenLLMetry observability demo\n\n1. Install:\n\n```python\npoetry install\n```\n\n2. Set up the environment:\n\n```python\nexport OPENAI_API_KEY=\u003cyour openai api key\u003e\nexport COHERE_API_KEY=\u003cyour cohere api key\u003e\nexport TRACELOOP_API_KEY=\u003cyour traceloop api key\u003e\n```\n\nYou can connect OpenLLMetry to other platform by following one of the guides [here](https://www.traceloop.com/docs/openllmetry/integrations/introduction).\n\n3. Run any of the demos like this:\n\n```python\npoetry run streamlit run llamaindex-demo/\u003cdemo name\u003e.py\n```\n\nDemos:\n\n1. `poetry run streamlit run llamaindex-demo/chat.py` - An interactive chat allowing you to ask questions about Paul Graham's indexed essays.\n\n   \u003cimg width=\"600\" src=\"https://raw.githubusercontent.com/traceloop/llamaindex-demo/main/img/chat.png\"\u003e\n\n2. `poetry run streamlit run llamaindex-demo/query-rewriting.py` - Demonstrating multi-step RAG pipeline with query rewriting and re-ranking.\n\n   \u003cimg width=\"600\" src=\"https://raw.githubusercontent.com/traceloop/llamaindex-demo/main/img/query-rewriting.png\"\u003e\n\n3. `poetry run streamlit run llamaindex-demo/agent.py` - Demonstrating an autonomous agent with LlamaIndex.\n\n   \u003cimg width=\"600\" src=\"https://raw.githubusercontent.com/traceloop/llamaindex-demo/main/img/agent.png\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraceloop%2Fllamaindex-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftraceloop%2Fllamaindex-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftraceloop%2Fllamaindex-demo/lists"}