Class RetrievalCallStep
java.lang.Object
com.google.genai.gaos.models.interactions.RetrievalCallStep
- All Implemented Interfaces:
Step
RetrievalCallStep
Retrieval call step. Used by Vertex Retrieval tools such as Parallel AI, Exa AI, Vertex AI Search, etc. RetrievalType decides which tool is used.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionRetrievalCallStep(RetrievalCallArguments arguments, String id) RetrievalCallStep(RetrievalCallArguments arguments, String id, RetrievalCallStepRetrievalType retrievalType, String signature) -
Method Summary
Modifier and TypeMethodDescriptionThe arguments to pass to Retrieval tools.static RetrievalCallStep.Builderbuilder()booleaninthashCode()id()Required.The type of retrieval tools.A signature hash for backend validation.toString()type()withArguments(RetrievalCallArguments arguments) The arguments to pass to Retrieval tools.Required.withRetrievalType(RetrievalCallStepRetrievalType retrievalType) The type of retrieval tools.withSignature(String signature) A signature hash for backend validation.
-
Constructor Details
-
RetrievalCallStep
public RetrievalCallStep(@Nonnull RetrievalCallArguments arguments, @Nonnull String id, @Nullable RetrievalCallStepRetrievalType retrievalType, @Nullable String signature) -
RetrievalCallStep
-
-
Method Details
-
arguments
The arguments to pass to Retrieval tools. -
id
Required. A unique ID for this specific tool call. -
retrievalType
The type of retrieval tools. -
signature
A signature hash for backend validation. -
type
-
builder
-
withArguments
The arguments to pass to Retrieval tools. -
withId
Required. A unique ID for this specific tool call. -
withRetrievalType
The type of retrieval tools. -
withSignature
A signature hash for backend validation. -
equals
-
hashCode
public int hashCode() -
toString
-