feat(cookbook): add llamaindex-rag-tracing-eval example with traceAI Instrumentation - #10
Open
pm32900 wants to merge 1 commit into
Open
feat(cookbook): add llamaindex-rag-tracing-eval example with traceAI Instrumentation#10pm32900 wants to merge 1 commit into
pm32900 wants to merge 1 commit into
Conversation
Author
|
Hi! Just checking in to see if there's anything I can update or clarify to help move this PR forward. Happy to make any requested changes. Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new cookbook example:
llamaindex-rag-tracing-eval.This is a minimal, self-contained RAG pipeline that demonstrates:
VectorStoreIndexfrom a local document using LlamaIndextraceAI-llamaindexCONTEXT_ADHERENCE,CONTEXT_RELEVANCE, andCOMPLETENESSeval tags so Future AGI automatically scores each responseMotivation
The existing
external_gdrive_searchcookbook uses LlamaIndex but requiresGoogle Drive credentials, a database, and Gradio. There is currently no
minimal LlamaIndex RAG example that shows the tracing + eval pattern in
isolation. This fills that gap for developers who want to add observability
to a simple RAG pipeline before scaling to production.
Files Added
llamaindex-rag-tracing-eval/ ├── README.md ├── app.py ├── eval_tags.py ├── requirements.txt ├── .env.example └── data/ └── sample_policy.txt
Testing
Tested locally with Python 3.11. Run
python app.pyafter filling in.env.Traces and eval scores confirmed visible in the Future AGI dashboard.
Checklist
requirements.txtuses real published package names from PyPI.env.examplecontains no real secretsmulti_agentandexternal_gdrive_search