Module Values.AgentSource

Contains details about an agent.

Sourcetype nonrec t = {
  1. agentId : Id.t option;
    (*

    The unique identifier of the agent.

    *)
  2. agentName : Name.t option;
    (*

    The name of the agent.

    *)
  3. agentArn : AgentArn.t option;
    (*

    The Amazon Resource Name (ARN) of the agent.

    *)
  4. agentVersion : DraftVersion.t option;
    (*

    The version of the agent.

    *)
  5. clientToken : ClientToken.t option;
    (*

    A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.

    *)
  6. instruction : Instruction.t option;
    (*

    Instructions that tell the agent what it should do and how it should interact with users.

    *)
  7. agentStatus : AgentStatus.t option;
    (*

    The status of the agent and whether it is ready for use. The following statuses are possible: CREATING – The agent is being created. PREPARING – The agent is being prepared. PREPARED – The agent is prepared and ready to be invoked. NOT_PREPARED – The agent has been created but not yet prepared. FAILED – The agent API operation failed. UPDATING – The agent is being updated. DELETING – The agent is being deleted.

    *)
  8. foundationModel : ModelIdentifier.t option;
    (*

    The foundation model used for orchestration by the agent.

    *)
  9. description : Description.t option;
    (*

    The description of the agent.

    *)
  10. orchestrationType : OrchestrationType.t option;
    (*

    Specifies the orchestration strategy for the agent.

    *)
  11. customOrchestration : CustomOrchestration.t option;
    (*

    Contains custom orchestration configurations for the agent.

    *)
  12. idleSessionTTLInSeconds : SessionTTL.t option;
    (*

    The number of seconds for which Amazon Bedrock keeps information about a user's conversation with the 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.

    *)
  13. agentResourceRoleArn : AgentRoleArn.t option;
    (*

    The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.

    *)
  14. customerEncryptionKeyArn : KmsKeyArn.t option;
    (*

    The Amazon Resource Name (ARN) of the KMS key that encrypts the agent.

    *)
  15. createdAt : DateTimestamp.t option;
    (*

    The time at which the agent was created.

    *)
  16. updatedAt : DateTimestamp.t option;
    (*

    The time at which the agent was last updated.

    *)
  17. preparedAt : DateTimestamp.t option;
    (*

    The time at which the agent was last prepared.

    *)
  18. failureReasons : FailureReasons.t option;
    (*

    Contains reasons that the agent-related API that you invoked failed.

    *)
  19. recommendedActions : RecommendedActions.t option;
    (*

    Contains recommended actions to take for the agent-related API that you invoked to succeed.

    *)
  20. promptOverrideConfiguration : PromptOverrideConfiguration.t option;
    (*

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

    *)
  21. guardrailConfiguration : GuardrailConfiguration.t option;
    (*

    Details about the guardrail associated with the agent.

    *)
  22. memoryConfiguration : MemoryConfiguration.t option;
    (*

    Contains memory configuration for the agent.

    *)
  23. agentCollaboration : AgentCollaboration.t option;
    (*

    The agent's collaboration settings.

    *)
}
Sourceval make : ?agentId:??? -> ?agentName:??? -> ?agentArn:??? -> ?agentVersion:??? -> ?clientToken:??? -> ?instruction:??? -> ?agentStatus:??? -> ?foundationModel:??? -> ?description:??? -> ?orchestrationType:??? -> ?customOrchestration:??? -> ?idleSessionTTLInSeconds:??? -> ?agentResourceRoleArn:??? -> ?customerEncryptionKeyArn:??? -> ?createdAt:??? -> ?updatedAt:??? -> ?preparedAt:??? -> ?failureReasons:??? -> ?recommendedActions:??? -> ?promptOverrideConfiguration:??? -> ?guardrailConfiguration:??? -> ?memoryConfiguration:??? -> ?agentCollaboration:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of SessionTTL.t | `List of [> `String of FailureReason.t ] list | `String of Id.t | `Structure of (string * [> `Integer of StorageDays.t | `List of [> `Enum of string | `Structure of (string * [> `Enum of string | `String of BasePromptTemplate.t | `Structure of (string * [> `Float of Temperature.t | `Integer of TopK.t | `List of [> `String of String_.t ] list ]) list ]) list ] list | `String of LambdaArn.t | `Structure of (string * [> `Integer of MaxRecentSessions.t | `String of LambdaArn.t ]) list ]) list | `Timestamp of DateTimestamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t