Skip to content

[FR]: Online Evaluation custom code metric should support reading the whole trace input/output data rather than the specific string values #2763

@Colstuwjx

Description

@Colstuwjx

Proposal summary

Image

As we can see, currently the online evaluation rule metric has ONLY supported to specific one input and one output string which referenced from the whole trace data. I would expect to read the whole trace data from the custom metric function so that it would be possible to analysis the trace data and generate a metric value for this time trace.

Motivation

While we didn't support this feature, it seems to be hard to write code to analysis the array result of output (for example) within the rule metric function.

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