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, IMessageReference 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.
Implements
IMessageEvaluationTypesScenarioExpectationTypesToolExpectation, IEquatableEvaluationTypesScenarioExpectationTypesToolExpectation, IDeepCloneableEvaluationTypesScenarioExpectationTypesToolExpectation, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1BetaAssembly
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 |
|