Class RetrievalCallDelta
java.lang.Object
com.google.genai.gaos.models.interactions.RetrievalCallDelta
- All Implemented Interfaces:
StepDeltaData
RetrievalCallDelta
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
ConstructorsConstructorDescriptionRetrievalCallDelta(RetrievalCallArguments arguments) RetrievalCallDelta(RetrievalCallArguments arguments, RetrievalCallDeltaRetrievalType retrievalType, String signature) -
Method Summary
Modifier and TypeMethodDescriptionThe arguments to pass to Retrieval tools.static RetrievalCallDelta.Builderbuilder()booleaninthashCode()The type of retrieval tools.A signature hash for backend validation.toString()type()withArguments(RetrievalCallArguments arguments) The arguments to pass to Retrieval tools.withRetrievalType(RetrievalCallDeltaRetrievalType retrievalType) The type of retrieval tools.withSignature(String signature) A signature hash for backend validation.
-
Constructor Details
-
RetrievalCallDelta
public RetrievalCallDelta(@Nonnull RetrievalCallArguments arguments, @Nullable RetrievalCallDeltaRetrievalType retrievalType, @Nullable String signature) -
RetrievalCallDelta
-
-
Method Details
-
arguments
The arguments to pass to Retrieval tools. -
retrievalType
The type of retrieval tools. -
signature
A signature hash for backend validation. -
type
- Specified by:
typein interfaceStepDeltaData
-
builder
-
withArguments
The arguments to pass to Retrieval tools. -
withRetrievalType
public RetrievalCallDelta withRetrievalType(@Nullable RetrievalCallDeltaRetrievalType retrievalType) The type of retrieval tools. -
withSignature
A signature hash for backend validation. -
equals
-
hashCode
public int hashCode() -
toString
-