Uses of Class
com.google.genai.gaos.models.interactions.Interaction.Builder
Packages that use Interaction.Builder
-
Uses of Interaction.Builder in com.google.genai.gaos.models.interactions
Methods in com.google.genai.gaos.models.interactions that return Interaction.BuilderModifier and TypeMethodDescriptionInteraction.Builder.agent(AgentOption agent) The agent to interact with.Interaction.Builder.agentConfig(InteractionAgentConfig agentConfig) Configuration parameters for the agent interaction.static Interaction.BuilderInteraction.builder()Output only.Interaction.Builder.environment(InteractionEnvironment environment) The environment configuration for the interaction.Interaction.Builder.environmentId(String environmentId) Output only.Output only.Interaction.Builder.generationConfig(GenerationConfig generationConfig) Configuration parameters for model interactions.Required.Interaction.Builder.input(InteractionsInput input) The input for the interaction.The labels with user-defined metadata for the request.The model that will complete your prompt.\n\nSee [models](https://ai.google.dev/gemini-api/docs/models) for additional details.Interaction.Builder.outputAudio(AudioContent outputAudio) An audio content block.Interaction.Builder.outputImage(ImageContent outputImage) An image content block.Interaction.Builder.outputText(String outputText) Concatenated text from the last model output in response to the current request.Interaction.Builder.outputVideo(VideoContent outputVideo) A video content block.Interaction.Builder.previousInteractionId(String previousInteractionId) The ID of the previous interaction, if any.Interaction.Builder.responseFormat(InteractionResponseFormat responseFormat) Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.Interaction.Builder.responseMimeType(String responseMimeType) Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Interaction.Builder.responseModalities(List<ResponseModality> responseModalities) Deprecated.field: This will be removed in a future release, please migrate away from it as soon as possible.Interaction.Builder.safetySettings(List<SafetySetting> safetySettings) Safety settings for the interaction.Interaction.Builder.serviceTier(ServiceTier serviceTier) Interaction.Builder.status(InteractionStatus status) Required.Output only.Interaction.Builder.systemInstruction(String systemInstruction) System instruction for the interaction.A list of tool declarations the model may call during interaction.Output only.Statistics on the interaction request's token usage.Interaction.Builder.webhookConfig(WebhookConfig webhookConfig) Message for configuring webhook events for a request.