gaurav0506/rag-sft-qwen2.5-coder-3b
Text Generation • 3B • Updated • 54
id stringlengths 14 14 | repository stringclasses 17
values | category stringclasses 10
values | difficulty stringclasses 3
values | learning_objective stringlengths 39 197 | source_file stringlengths 7 98 | messages listlengths 3 3 |
|---|---|---|---|---|---|---|
example_000984 | qdrant-examples | code_modification | intermediate | Modify relevance-feedback retrieval to use scored point IDs | using-relevance-feedback/Customizing_Relevance_Feedback.ipynb | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How do I feed exp... |
example_002229 | haystack | implementation | beginner | Convert image files into empty Document metadata containers using ImageFileToDocument in Haystack 2.0. | haystack/components/converters/image/file_to_document.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How do I create D... |
example_000280 | qdrant-examples | integration_api | intermediate | Integrate Qdrant with LangChain using a current FastEmbed embeddings adapter | langchain-integration/langchain_integration.ipynb | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "We want to use La... |
example_000840 | onerag | debugging | intermediate | Debug health-check dependency ordering under partial outages | app/api/monitoring.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "The monitoring he... |
example_002039 | haystack | testing | intermediate | Configure FaithfulnessEvaluator in Haystack 2.0 to detect hallucinations against retrieved contexts. | haystack/components/evaluators/faithfulness.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How do I evaluate... |
example_001918 | llama-index | debugging | advanced | Configure ContextRelevancyEvaluator in LlamaIndex to measure the proportion of retrieved chunks that are genuinely useful. | llama-index-core/llama_index/core/evaluation/context_relevancy.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How do I configur... |
example_002688 | fastembed | implementation | advanced | Initialize and execute MiniCoIL sparse text embeddings using ONNX Runtime in FastEmbed. | fastembed/sparse/minicoil.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How does fastembe... |
example_002305 | llama-index | implementation | intermediate | Construct modular CLI subcommand dispatchers using argparse in LlamaIndex developer tooling. | llama-dev/llama_dev/cli.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How does LlamaInd... |
example_000834 | qdrant-examples | code_understanding | advanced | Understand async answer generation with bounded concurrency | rag-pipeline-evaluation/rag_pipeline_evaluation.ipynb | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How does the eval... |
example_003097 | nvidia-rag | code_modification | intermediate | Master IntegrationTestRunner (metadata_filter_expr_for_backend) in 'tests/integration/main.py' for tests integration main in nvidia-rag. | tests/integration/main.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "What unit testing... |
example_002336 | haystack | performance_reliability | advanced | Defer optional library imports using lazy import proxies in Haystack lazy_imports. | haystack/lazy_imports.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How does Haystack... |
example_001950 | dspy | implementation | intermediate | Configure DataLoader in DSPy to load, split, and sample benchmark datasets into dspy.Example collections. | dspy/datasets/dataloader.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How do I use Data... |
example_003027 | haystack | implementation | advanced | Master TestPyPDFToDocument (pypdf_component) in 'test/components/converters/test_pypdf_to_document.py' for pypdf to document in haystack. | test/components/converters/test_pypdf_to_document.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "What performance ... |
example_001910 | llama-index | architecture_design | advanced | Configure SentenceWindowNodeParser in LlamaIndex to implement the small-to-big retrieval pattern with surrounding context windows. | llama-index-core/llama_index/core/node_parser/text/sentence_window.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How do I configur... |
example_000626 | nvidia-rag | code_understanding | advanced | Explain agentic query execution trace recording and metrics telemetry aggregation | src/nvidia_rag/rag_server/agentic_rag/runner.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How does an agent... |
example_001677 | graphrag | architecture_design | beginner | Use NoopQueryCallbacks as a null-object callback handler in GraphRAG. | packages/graphrag/graphrag/callbacks/noop_query_callbacks.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "What is the purpo... |
example_002812 | llama-index | code_understanding | advanced | Master PromptMixin (_validate_prompts) in 'llama-index-core/llama_index/core/prompts/mixin.py' for core prompts mixin in llama-index. | llama-index-core/llama_index/core/prompts/mixin.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How does `llama-i... |
example_002418 | llama-index | implementation | advanced | Model labelled property graphs with typed edges and properties in LlamaIndex simple_labelled. | llama-index-core/llama_index/core/graph_stores/simple_labelled.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How does SimpleLa... |
example_000296 | rag-chatbot-template-starter | documentation_explanation | beginner | Write reference documentation for application settings grouped by concern | app/config.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "Write reference d... |
example_003036 | haystack | implementation | advanced | Master TestOpenAITextEmbedder (test_init_default) in 'test/components/embedders/test_openai_text_embedder.py' for openai text embedder in haystack. | test/components/embedders/test_openai_text_embedder.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How is concurrenc... |
example_002311 | llama-index | testing | intermediate | Validate release readiness gates including clean git worktrees and synchronized tags in LlamaIndex release check. | llama-dev/llama_dev/release/check.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How do release va... |
example_000586 | haystack-demos | best_practices_security | beginner | Reject caller-supplied URLs before the pipeline's fetcher runs | chat_with_website_hayhooks/examples/chat_with_website/pipeline_wrapper.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "`run_api` accepts... |
example_002705 | llama-index | performance_reliability | intermediate | Master VectorMemoryBlock (get_default_embed_model) in 'llama-index-core/llama_index/core/memory/memory_blocks/vector.py' for memory blocks vector in llama-index. | llama-index-core/llama_index/core/memory/memory_blocks/vector.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "What parameter va... |
example_000577 | documind | integration_api | beginner | Trace an outbound chat HTTP call through payload construction, retry, and response parsing | app/utils/ollama_client.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "Walk through this... |
example_001627 | haystack | implementation | intermediate | Construct multi-turn chat prompt templates using Haystack ChatPromptBuilder and Jinja2 syntax. | haystack/components/builders/chat_prompt_builder.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How do I use Chat... |
example_001307 | haystack | architecture_design | advanced | Design safe deserialization security with module allowlisting and gadget escape prevention | haystack/core/serialization_security.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How does Haystack... |
example_001382 | openai-knowledge-retrieval | code_modification | intermediate | Modify DocumentPreviewModal to infer file types safely without eval | app/frontend/src/components/DocumentPreviewModal.tsx | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How can I safely ... |
example_001496 | haystack-cookbook | code_understanding | intermediate | Plan sequential multi-hop entity dependency retrieval stages using Haystack query planners | notebooks/query_decomposition.ipynb | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How does Haystack... |
example_002340 | haystack | implementation | intermediate | Route image and multimodal payloads based on model decisions in Haystack openai_decisions_image_router. | haystack/components/routers/openai_decisions_image_router.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How does Haystack... |
example_000815 | qdrant-examples | implementation | intermediate | Implement a document model that preserves wine payload fields for search | self-query/self-query.ipynb | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How do I convert ... |
example_002563 | lancedb | implementation | intermediate | Test connection context lifecycle and dataframe ingestion fixtures in LanceDB test_context. | python/python/tests/test_context.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How does test_con... |
example_002153 | dspy | implementation | beginner | Manage dataset partitions and cross-validation splits in DSPy using Dataset primitive. | dspy/datasets/dataset.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How do I structur... |
example_001297 | rag-chatbot-template-starter | code_understanding | beginner | Explain chat router setup and dependency injection for conversation endpoints | app/routers/chat.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How does the Fast... |
example_002127 | haystack | implementation | beginner | Configure DOCXToDocument in Haystack 2.0 to extract Word documents into structured document objects. | haystack/components/converters/docx.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How do I extract ... |
example_002354 | dspy | testing | intermediate | Validate and build client-side documentation search indexes in DSPy zensical_build. | docs/scripts/zensical_build.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How does DSPy val... |
example_000560 | rag-agent | code_modification | intermediate | Modify the provider factory to add provider validation and fallback logic | providers/factory.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "Modify the provid... |
example_000479 | rag-chatbot | integration_api | intermediate | Test the chat endpoint: retrieval, generation, history, and error handling | app/main.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "The `/chat` endpo... |
example_001493 | haystack-cookbook | code_modification | intermediate | Modify RAG evaluation with DeepEval metrics and custom rubrics | notebooks/rag_eval_deep_eval.ipynb | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How do I structur... |
example_002473 | graphrag | implementation | advanced | Cache LLM completions with disk-backed cache keys in GraphRAG middleware with_cache. | packages/graphrag-llm/graphrag_llm/middleware/with_cache.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How does GraphRAG... |
example_000879 | haystack-cookbook | documentation_explanation | intermediate | Explain the multi-question answering prompt contract | notebooks/query_decomposition.ipynb | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "What inputs does ... |
example_000067 | qdrant-examples | code_modification | intermediate | Make the collection-population guard per-meeting instead of aggregate-counted | agentic_rag_zoom_crewai/vector/data_loader.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "`_populate_collec... |
example_000454 | nvidia-rag | architecture_design | advanced | Explain the AgenticRag graph state: planner config, task execution config, and LLM routing | src/nvidia_rag/rag_server/agentic_rag/agentic_rag.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "`AgenticRag` defi... |
example_002839 | haystack | code_understanding | advanced | Master _is_union_type (execute_type_serialization) in 'haystack/utils/type_serialization.py' for utils type serialization in haystack. | haystack/utils/type_serialization.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How does `haystac... |
example_002334 | haystack | testing | advanced | Test end-to-end evaluation pipelines with DocumentStore, Retriever, and Evaluator components in Haystack. | e2e/pipelines/test_evaluation_pipeline.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How do integratio... |
example_002359 | lancedb | performance_reliability | advanced | Stream Lance dataset batches into PyTorch dataloaders without full memory caching in LanceDB bench_streaming_dataloader. | python/benchmarks/bench_streaming_dataloader.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How does LanceDB ... |
example_001381 | openai-knowledge-retrieval | implementation | intermediate | Implement ChatKitPanel wiring document context scope and thread state | app/frontend/src/components/ChatKitPanel.tsx | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How do I wire a C... |
example_001043 | onerag | code_modification | intermediate | Modify PII processor to mask answer and source filenames | app/modules/core/privacy/processor.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "We want the query... |
example_000387 | haystack-cookbook | best_practices_security | intermediate | Constrain a model-generated SQL component with a read-only connection, a SELECT-only parser, and a row limit | notebooks/chat_with_SQL_3_ways.ipynb | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "The `SQLQuery` co... |
example_002540 | haystack | implementation | intermediate | Implement CLI and webhook ConfirmationUI adapters for interactive human feedback in user_interfaces.py. | haystack/hooks/human_in_the_loop/user_interfaces.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How does Confirma... |
example_002541 | haystack | architecture_design | intermediate | Understand the ConfirmationUI typing protocol for decoupling agent execution from user review channels. | haystack/hooks/human_in_the_loop/types/protocol.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How does Confirma... |
example_002876 | graphrag | debugging | intermediate | Master TableProviderConfig (execute_table_provider_config) in 'packages/graphrag-storage/graphrag_storage/tables/table_provider_config.py' for table provider config in graphrag. | packages/graphrag-storage/graphrag_storage/tables/table_provider_config.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "In `graphrag`, ho... |
example_001866 | lancedb | performance_reliability | advanced | Instrument LanceDB query execution and table operations with OpenTelemetry (OTel) metrics and distributed tracing. | python/python/lancedb/otel.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How do I enable O... |
example_001461 | qdrant-examples | implementation | advanced | Implement large-scale ingestion with batching and parallel processing | course/day_4/large_scale_ingestion.ipynb | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How do I implemen... |
example_000023 | openai-knowledge-retrieval | code_understanding | advanced | Trace the ordering and interaction of stages inside retrieve_custom_chunks | retrieval/pipeline.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "In openai-knowled... |
example_003091 | fastembed | architecture_design | intermediate | Master _seed_cache (execute_test_model_management) in 'tests/test_model_management.py' for test model management in fastembed. | tests/test_model_management.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How is concurrenc... |
example_001234 | ragas | integration_api | beginner | Integrate Pydantic prompt template with JSON schema validation | src/ragas/prompt/pydantic_prompt.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How do I create a... |
example_001034 | ragas | integration_api | beginner | Integrate LiteLLM as a structured-output adapter | src/ragas/llms/adapters/litellm.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How do I plug Lit... |
example_000569 | onerag | testing | beginner | Test audit identifier redaction and optional integer coercion with parametrized cases | app/api/audit_event_store.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How do I test saf... |
example_001793 | onerag | implementation | intermediate | Inspect collection statistics and index health using OneRAG admin endpoints. | app/api/admin.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How does OneRAG e... |
example_002712 | llama-index | code_understanding | advanced | Master TableColumnOutput (class_name) in 'llama-index-core/llama_index/core/node_parser/relational/base_element.py' for relational base element in llama-index. | llama-index-core/llama_index/core/node_parser/relational/base_element.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "Explain the archi... |
example_000996 | haystack-demos | documentation_explanation | advanced | Document the browser-agent deployment architecture and its three containers | browser_agent/README.md | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "What are the resp... |
example_002225 | llama-index | debugging | beginner | Configure PythonicallyPrintingBaseHandler in LlamaIndex to stream formatted trace events to custom loggers. | llama-index-core/llama_index/core/callbacks/pythonically_printing_base_handler.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How does Pythonic... |
example_001622 | llama-index | architecture_design | advanced | Traverse and query hierarchical tree structures with LlamaIndex TreeIndex. | llama-index-core/llama_index/core/indices/common_tree/base.py | [
{
"role": "system",
"content": "You are an expert retrieval-augmented generation (RAG) systems engineer and architectural specialist. Provide deep, technically rigorous explanations and verified, runnable Python implementations with assertions."
},
{
"role": "user",
"content": "How does TreeInde... |
A synthetic, repository-grounded instruction-tuning dataset specifically formatted in ChatML for training language models to master RAG architectures, vector databases, ranking mathematics, and retrieval pipelines.
system, user, assistant).