Module Values.KnowledgeBaseRetrieveAndGenerateConfigurationSource

Contains configuration details for retrieving information from a knowledge base and generating responses.

Sourcetype nonrec t = {
  1. knowledgeBaseId : KnowledgeBaseId.t;
    (*

    The unique identifier of the knowledge base.

    *)
  2. modelArn : BedrockModelArn.t;
    (*

    The Amazon Resource Name (ARN) of the foundation model or inference profile used to generate responses.

    *)
  3. retrievalConfiguration : KnowledgeBaseRetrievalConfiguration.t option;
    (*

    Contains configuration details for retrieving text chunks.

    *)
  4. generationConfiguration : GenerationConfiguration.t option;
    (*

    Contains configurations details for response generation based on retrieved text chunks.

    *)
  5. orchestrationConfiguration : OrchestrationConfiguration.t option;
    (*

    Contains configuration details for the model to process the prompt prior to retrieval and response generation.

    *)
}
Sourceval context_ : string
Sourceval make : ?retrievalConfiguration:??? -> ?generationConfiguration:??? -> ?orchestrationConfiguration:??? -> knowledgeBaseId:KnowledgeBaseId.t -> modelArn:BedrockModelArn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of KnowledgeBaseId.t | `Structure of (string * [> `Map of ([> `String of AdditionalModelRequestFieldsKey.t ] * [> `Structure of 'a list ]) list | `Structure of (string * Awso.Botodata.value) list ]) list ]) 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