Gemini Enterprise for Customer Experience v1beta API - Class Evaluation.Types.ScenarioExpectation.Types.ToolExpectation (1.0.0-beta01)

public sealed class Evaluation.Types.ScenarioExpectation.Types.ToolExpectation : IMessage<Evaluation.Types.ScenarioExpectation.Types.ToolExpectation>, IEquatable<Evaluation.Types.ScenarioExpectation.Types.ToolExpectation>, IDeepCloneable<Evaluation.Types.ScenarioExpectation.Types.ToolExpectation>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1beta API class Evaluation.Types.ScenarioExpectation.Types.ToolExpectation.

The tool call and response pair to be evaluated.

Inheritance

object > Evaluation.Types.ScenarioExpectation.Types.ToolExpectation

Namespace

Google.Cloud.Ces.V1Beta

Assembly

Google.Cloud.Ces.V1Beta.dll

Constructors

ToolExpectation()

public ToolExpectation()

ToolExpectation(ToolExpectation)

public ToolExpectation(Evaluation.Types.ScenarioExpectation.Types.ToolExpectation other)
Parameter
Name Description
other EvaluationTypesScenarioExpectationTypesToolExpectation

Properties

ExpectedToolCall

public ToolCall ExpectedToolCall { get; set; }

Required. The expected tool call, with the parameters of interest specified. Any parameters not specified will be hallucinated by the LLM.

Property Value
Type Description
ToolCall

MockToolResponse

public ToolResponse MockToolResponse { get; set; }

Required. The tool response to mock, with the parameters of interest specified. Any parameters not specified will be hallucinated by the LLM.

Property Value
Type Description
ToolResponse