Module Values.AssociateAgentKnowledgeBaseRequestSource

Associates a knowledge base with an agent. If a knowledge base is associated and its indexState is set to Enabled, the agent queries the knowledge base for information to augment its response to the user.

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

    The unique identifier of the agent with which you want to associate the knowledge base.

    *)
  2. agentVersion : DraftVersion.t;
    (*

    The version of the agent with which you want to associate the knowledge base.

    *)
  3. knowledgeBaseId : Id.t;
    (*

    The unique identifier of the knowledge base to associate with the agent.

    *)
  4. description : Description.t;
    (*

    A description of what the agent should use the knowledge base for.

    *)
  5. knowledgeBaseState : KnowledgeBaseState.t option;
    (*

    Specifies whether to use the knowledge base or not when sending an InvokeAgent request.

    *)
}
Sourceval context_ : string
Sourceval make : ?knowledgeBaseState:??? -> agentId:Id.t -> agentVersion:DraftVersion.t -> knowledgeBaseId:Id.t -> description:Description.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of Id.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