Values.AgentVersionSourceContains details about a version of an agent.
type nonrec t = {agentId : Id.t option;The unique identifier of the agent that the version belongs to.
*)agentName : Name.t option;The name of the agent that the version belongs to.
*)agentArn : AgentArn.t option;The Amazon Resource Name (ARN) of the agent that the version belongs to.
*)version : NumericalVersion.t option;The version number.
*)instruction : Instruction.t option;The instructions provided to the agent.
*)agentStatus : AgentStatus.t option;The status of the agent that the version belongs to.
*)foundationModel : ModelIdentifier.t option;The foundation model that the version invokes.
*)description : Description.t option;The description of the version.
*)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.
*)agentResourceRoleArn : AgentRoleArn.t option;The Amazon Resource Name (ARN) of the IAM role with permissions to invoke API operations on the agent.
*)customerEncryptionKeyArn : KmsKeyArn.t option;The Amazon Resource Name (ARN) of the KMS key that encrypts the agent.
*)createdAt : DateTimestamp.t option;The time at which the version was created.
*)updatedAt : DateTimestamp.t option;The time at which the version was last updated.
*)failureReasons : FailureReasons.t option;A list of reasons that the API operation on the version failed.
*)recommendedActions : RecommendedActions.t option;A list of recommended actions to take for the failed API operation on the version to succeed.
*)promptOverrideConfiguration : PromptOverrideConfiguration.t option;Contains configurations to override prompt templates in different parts of an agent sequence. For more information, see Advanced prompts.
*)guardrailConfiguration : GuardrailConfiguration.t option;Details about the guardrail associated with the agent.
*)memoryConfiguration : MemoryConfiguration.t option;Contains details of the memory configuration on the version of the agent.
*)agentCollaboration : AgentCollaboration.t option;The agent's collaboration settings.
*)}val make :
?agentId:Id.t ->
?agentName:Name.t ->
?agentArn:AgentArn.t ->
?version:NumericalVersion.t ->
?instruction:Instruction.t ->
?agentStatus:AgentStatus.t ->
?foundationModel:ModelIdentifier.t ->
?description:Description.t ->
?idleSessionTTLInSeconds:SessionTTL.t ->
?agentResourceRoleArn:AgentRoleArn.t ->
?customerEncryptionKeyArn:KmsKeyArn.t ->
?createdAt:DateTimestamp.t ->
?updatedAt:DateTimestamp.t ->
?failureReasons:FailureReasons.t ->
?recommendedActions:RecommendedActions.t ->
?promptOverrideConfiguration:PromptOverrideConfiguration.t ->
?guardrailConfiguration:GuardrailConfiguration.t ->
?memoryConfiguration:MemoryConfiguration.t ->
?agentCollaboration:AgentCollaboration.t ->
unit ->
tval 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 ]) list ])
list
| `Timestamp of DateTimestamp.t ])
list ]