Replies: 2 comments
|
Architecture diagram example that needs embedding: https://help.splunk.com/en/splunk-cloud-platform/get-started/splunk-validated-architectures/splunk-cloud-platform/splunk-cloud-platform-experiences |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Problem Statement
CAIPE has a RAG system that supports document ingestion, hybrid search, vector storage, structured entity ingestion, graph storage, ontology generation, and MCP tools for search and graph exploration.
The open question is how to improve question-answering quality while controlling latency and model cost.
The project should evaluate RAG behavior across three dimensions:
The goal is not to assume that any specific technique is better. The goal is to measure the current system, explore targeted improvements, and recommend which approaches are worth productizing.
Current System and Capabilities
Relevant repository areas:
ai_platform_engineering/knowledge_bases/rag/server: query APIs, MCP tools, and hybrid search orchestration.ai_platform_engineering/knowledge_bases/rag/common: shared models, embedding factory, graph abstractions, and ingestor APIs.ai_platform_engineering/knowledge_bases/rag/ingestors: source-specific ingestion into LangChainDocumentobjects and structured entities.ai_platform_engineering/knowledge_bases/rag/agent_ontology: ontology generation, relation evaluation, and BM25 entity search.Current capabilities include:
Things to Explore
1. RAG Evaluation
Before changing retrieval strategies, create a repeatable way to evaluate the system.
Start with a small golden question set that includes:
Evaluate:
Frameworks to start with:
The project should evaluate Ragas and DeepEval against the same sample questions and recommend one framework for CAIPE to standardize on.
Stretch:
2. Retrieval, Agent Tooling, and Multimodal Optimization
The current system already supports hybrid dense plus sparse search and MCP tools for search, document fetch, and graph traversal. This track should evaluate not only what gets retrieved, but also how AI agents use retrieved evidence and tools to produce grounded answers.
Explore:
search,fetch_document, graph tools, filters, citations, and follow-up fetches. Check which LLM models use the tools better.Embedding models to compare should stay within the model families we have access to:
3. Graph Memory
Explore whether CAIPE should learn durable knowledge from interactions and store it in an evolving graph memory.
This is different from retrieval over a static documentation corpus. The memory graph would be built from things the system observes over time, such as conversations, tool calls, incident investigations, troubleshooting sessions, feedback, structured operational events, and Langfuse traces.
CAIPE already has a lot of Langfuse traces, and those traces are a strong candidate event source for a live knowledge graph. A trace can capture the user/session, input, output, observations, tool calls, model calls, latency, costs, scores, errors, and metadata. That makes it possible to learn not just facts, but also how work actually happened.
Explore as an evaluation/PoC, not a production implementation:
For the Langfuse trace-to-knowledge-graph prototype, explore:
asked_about,used_tool,called_agent,resolved_by,failed_on,depends_on,mentions,cites, andfollowed_up_from.State-of-the-art systems to explore:
Expected Deliverables
The project should produce:
All reactions