Skip to content

Getting Eval duration metadata while running with noSendLogs? #909

@vm-mishchenko

Description

@vm-mishchenko

Is it possible to get the duration from the Eval result while running with noSendLogs? Thanks!

const result = await Eval("Say Hi Bot", {
    data: () => [{ input: "Case 1" }],
    task: async (input: string) => input,
    scores: [SomeScore],
}, {
    noSendLogs: true, // <--- get metadata stats without sending logs?
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions