Skip to content

Guardrails DB: Enhance data points #123

@pritam-T4D

Description

@pritam-T4D

Is your feature request related to a problem?
The current Guardrails DB lacks sufficient data points for effective RCA/debugging and performance tracking, which hinders our ability to analyze and improve system performance.

Describe the solution you'd like
Add more data points to the Guardrails DB, including:

  • Triggered validator config for each request
  • LLM critic response (e.g., score)
  • Provider response ID
  • Usage/stats data (cost, latency, tokens) for each request
Original issue

Need more data stored in the Guardrails DB (at request log table or validator log table) that can help us with RCA/Debugging and for tracking performance metrics.

  1. Which validaor config was triggered against request
  2. LLM critic response e.g Score
  3. provider response id
  4. More info that can help us to know cost, latency, tokens against a request (usage/stats data)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions