Skip to content

Enable condenser and security analyzer as configurable options in EvalMetadata #463

@simonrosenberg

Description

@simonrosenberg

Description

The Agent constructor in run_infer.py currently does not use the condenser or security analyzer. These should be enabled and made configurable via EvalMetadata.

Specifically, we should support:

  • condenser — using get_default_condenser() with a dedicated service_id
  • security_analyzer — using LLMSecurityAnalyzer()

Both should be optional and configurable through EvalMetadata fields.

Context

This was previously tracked as a TODO comment in the codebase (removed in #440). Creating this issue to properly track the work.

# condenser=get_default_condenser(
#     llm=self.metadata.llm.model_copy(update={"service_id": "condenser"})
# ),
# security_analyzer=LLMSecurityAnalyzer(),

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions