Builder

class Builder

Properties

Link copied to clipboard

A list of action groups with each action group defining the action the inline agent needs to carry out.

Link copied to clipboard

Defines how the inline collaborator agent handles information across multiple collaborator agents to coordinate a final response. The inline collaborator agent can also be the supervisor.

Link copied to clipboard

The name for the agent.

Link copied to clipboard
Link copied to clipboard

Settings for an inline agent collaborator called with InvokeInlineAgent.

Link copied to clipboard

List of collaborator inline agents.

Link copied to clipboard

The Amazon Resource Name (ARN) of the Amazon Web Services KMS key to use to encrypt your inline agent.

Link copied to clipboard

Contains details of the custom orchestration configured for the agent.

Link copied to clipboard

Specifies whether to turn on the trace or not to track the agent's reasoning process. For more information, see Using trace.

Link copied to clipboard

Specifies whether to end the session with the inline agent or not.

Link copied to clipboard

The model identifier (ID) of the model to use for orchestration by the inline agent. For example, meta.llama3-1-70b-instruct-v1:0.

Link copied to clipboard

The guardrails to assign to the inline agent.

Link copied to clipboard

The number of seconds for which the inline agent should maintain session information. After this time expires, the subsequent InvokeInlineAgent request begins a new session.

Link copied to clipboard

Parameters that specify the various attributes of a sessions. You can include attributes for the session or prompt or, if you configured an action group to return control, results from invocation of the action group. For more information, see Control session context.

Link copied to clipboard

The prompt text to send to the agent.

Link copied to clipboard

The instructions that tell the inline agent what it should do and how it should interact with users.

Link copied to clipboard

Contains information of the knowledge bases to associate with.

Link copied to clipboard

Specifies the type of orchestration strategy for the agent. This is set to DEFAULT orchestration type, by default.

Link copied to clipboard

Specifies parameters that control how the service populates the agent prompt for an InvokeInlineAgent request. You can control which aspects of previous invocations in the same agent session the service uses to populate the agent prompt. This gives you more granular control over the contextual history that is used to process the current request.

Link copied to clipboard

Configurations for advanced prompts used to override the default prompts to enhance the accuracy of the inline agent.

Link copied to clipboard

The unique identifier of the session. Use the same value across requests to continue the same conversation.

Link copied to clipboard

Specifies the configurations for streaming.

Functions