Skip to content

Kaapi: Adherence to knowledge base metric #1045

Description

@AkhileshNegi

Is your feature request related to a problem?
Kaapi's native LLM-as-judge needs a hallucination-detection metric: is the answer grounded in the org's knowledge base or invented? Cosine similarity can't answer this, and we have no standardized way to check groundedness today.

Describe the solution you'd like

  • Spend time in OpenAI logs checking the chunks returned for an answer — can they serve as grounding context for the judge?
  • Explore an additional OpenAI call with the vector store as parameter, asking if the answer is present in the knowledge base.
  • Look at Langfuse evaluator templates for RAGAS (faithfulness/groundedness) and how they can be mapped to Kaapi

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Status
Closed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions