Interface Collaborator.Builder

    • Method Detail

      • actionGroups

        Collaborator.Builder actionGroups​(Collection<AgentActionGroup> actionGroups)

        List of action groups with each action group defining tasks the inline collaborator agent needs to carry out.

        Parameters:
        actionGroups - List of action groups with each action group defining tasks the inline collaborator agent needs to carry out.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actionGroups

        Collaborator.Builder actionGroups​(AgentActionGroup... actionGroups)

        List of action groups with each action group defining tasks the inline collaborator agent needs to carry out.

        Parameters:
        actionGroups - List of action groups with each action group defining tasks the inline collaborator agent needs to carry out.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • agentCollaboration

        Collaborator.Builder agentCollaboration​(String agentCollaboration)

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

        Parameters:
        agentCollaboration - Defines how the inline supervisor agent handles information across multiple collaborator agents to coordinate a final response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AgentCollaboration, AgentCollaboration
      • agentCollaboration

        Collaborator.Builder agentCollaboration​(AgentCollaboration agentCollaboration)

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

        Parameters:
        agentCollaboration - Defines how the inline supervisor agent handles information across multiple collaborator agents to coordinate a final response.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AgentCollaboration, AgentCollaboration
      • agentName

        Collaborator.Builder agentName​(String agentName)

        Name of the inline collaborator agent which must be the same name as specified for collaboratorName.

        Parameters:
        agentName - Name of the inline collaborator agent which must be the same name as specified for collaboratorName.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • collaboratorConfigurations

        Collaborator.Builder collaboratorConfigurations​(Collection<CollaboratorConfiguration> collaboratorConfigurations)

        Settings of the collaborator agent.

        Parameters:
        collaboratorConfigurations - Settings of the collaborator agent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • collaboratorConfigurations

        Collaborator.Builder collaboratorConfigurations​(CollaboratorConfiguration... collaboratorConfigurations)

        Settings of the collaborator agent.

        Parameters:
        collaboratorConfigurations - Settings of the collaborator agent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • customerEncryptionKeyArn

        Collaborator.Builder customerEncryptionKeyArn​(String customerEncryptionKeyArn)

        The Amazon Resource Name (ARN) of the AWS KMS key that encrypts the inline collaborator.

        Parameters:
        customerEncryptionKeyArn - The Amazon Resource Name (ARN) of the AWS KMS key that encrypts the inline collaborator.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • foundationModel

        Collaborator.Builder foundationModel​(String foundationModel)

        The foundation model used by the inline collaborator agent.

        Parameters:
        foundationModel - The foundation model used by the inline collaborator agent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • guardrailConfiguration

        Collaborator.Builder guardrailConfiguration​(GuardrailConfigurationWithArn guardrailConfiguration)

        Details of the guardwrail associated with the inline collaborator.

        Parameters:
        guardrailConfiguration - Details of the guardwrail associated with the inline collaborator.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • idleSessionTTLInSeconds

        Collaborator.Builder idleSessionTTLInSeconds​(Integer idleSessionTTLInSeconds)

        The number of seconds for which the Amazon Bedrock keeps information about the user's conversation with the inline collaborator agent.

        A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.

        Parameters:
        idleSessionTTLInSeconds - The number of seconds for which the Amazon Bedrock keeps information about the user's conversation with the inline collaborator agent.

        A user interaction remains active for the amount of time specified. If no conversation occurs during this time, the session expires and Amazon Bedrock deletes any data provided before the timeout.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instruction

        Collaborator.Builder instruction​(String instruction)

        Instruction that tell the inline collaborator agent what it should do and how it should interact with users.

        Parameters:
        instruction - Instruction that tell the inline collaborator agent what it should do and how it should interact with users.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • knowledgeBases

        Collaborator.Builder knowledgeBases​(Collection<KnowledgeBase> knowledgeBases)

        Knowledge base associated with the inline collaborator agent.

        Parameters:
        knowledgeBases - Knowledge base associated with the inline collaborator agent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • knowledgeBases

        Collaborator.Builder knowledgeBases​(KnowledgeBase... knowledgeBases)

        Knowledge base associated with the inline collaborator agent.

        Parameters:
        knowledgeBases - Knowledge base associated with the inline collaborator agent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • promptOverrideConfiguration

        Collaborator.Builder promptOverrideConfiguration​(PromptOverrideConfiguration promptOverrideConfiguration)

        Contains configurations to override prompt templates in different parts of an inline collaborator sequence. For more information, see Advanced prompts.

        Parameters:
        promptOverrideConfiguration - Contains configurations to override prompt templates in different parts of an inline collaborator sequence. For more information, see Advanced prompts.
        Returns:
        Returns a reference to this object so that method calls can be chained together.