Skip to content

Validator log table updates #28

@rkritika1508

Description

@rkritika1508

Which feature or component needs enhancement?
We don't want to populate the validator_log each time a validator has parsed a message. We actually want to give this capability to Kaapi-backend. There will be a flag which if enabled will populate only failed validator logs. Otherwise, we will populate all logs to the validator_log table.

Describe the current behavior
Currently, every validator which is present in input_guardrails or output_guardrails and being used to process user query or LLM output is adding an entry to validator_log table in the database, irrespective of whether the validator has passed successfully or not. This will lead to the validator_log table storing a lot of information which might not be very useful.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions