Feature Title
get only the retrievers
Describe the feature
Hi, this project is interesting. I have a question: is there a way to get only the returned chunks, instead of the response already passed by LLM?
In other words, I want to use it only to get the found chunks and then use it to pass the context to an agent I have.
That is, instead of returning this:
{
"answer": "The main concepts are: knowledge graphs, entity extraction, and hybrid retrieval...",
"sources": [
{ "chunk_id": "chunk-1", "similarity": 0.92 },
{ "chunk_id": "chunk-5", "similarity": 0.87 }
],
"entities": ["KNOWLEDGE_GRAPH", "ENTITY_EXTRACTION"],
"relationships": [
{
"source": "KNOWLEDGE_GRAPH",
"target": "ENTITY_EXTRACTION",
"type": "ENABLES"
}
]
}
I would like it to only return this:
{
"sources": [
{ "chunk_id": "chunk-1", "similarity": 0.92 },
{ "chunk_id": "chunk-5", "similarity": 0.87 }
],
"entities": ["KNOWLEDGE_GRAPH", "ENTITY_EXTRACTION"],
"relationships": [
{
"source": "KNOWLEDGE_GRAPH",
"target": "ENTITY_EXTRACTION",
"type": "ENABLES"
}
]
}
Motivation
No response
Alternatives considered
No response
Additional context
No response
Feature Title
get only the retrievers
Describe the feature
Hi, this project is interesting. I have a question: is there a way to get only the returned chunks, instead of the response already passed by LLM?
In other words, I want to use it only to get the found chunks and then use it to pass the context to an agent I have.
That is, instead of returning this:
I would like it to only return this:
Motivation
No response
Alternatives considered
No response
Additional context
No response