Module Values.AgentVersionSource

Contains details about a version of an agent.

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

    The unique identifier of the agent that the version belongs to.

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

    The name of the agent that the version belongs to.

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

    The Amazon Resource Name (ARN) of the agent that the version belongs to.

    *)
  4. version : NumericalVersion.t option;
    (*

    The version number.

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

    The instructions provided to the agent.

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

    The status of the agent that the version belongs to.

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

    The foundation model that the version invokes.

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

    The description of the version.

    *)
  9. 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.

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

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

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

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

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

    The time at which the version was created.

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

    The time at which the version was last updated.

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

    A list of reasons that the API operation on the version failed.

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

    A list of recommended actions to take for the failed API operation on the version to succeed.

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

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

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

    Details about the guardrail associated with the agent.

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

    Contains details of the memory configuration on the version of the agent.

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

    The agent's collaboration settings.

    *)
}
Sourceval make : ?agentId:??? -> ?agentName:??? -> ?agentArn:??? -> ?version:??? -> ?instruction:??? -> ?agentStatus:??? -> ?foundationModel:??? -> ?description:??? -> ?idleSessionTTLInSeconds:??? -> ?agentResourceRoleArn:??? -> ?customerEncryptionKeyArn:??? -> ?createdAt:??? -> ?updatedAt:??? -> ?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 ]) 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