Module Values.KnowledgeBaseOrchestrationConfigurationSource

Configures how the knowledge base orchestrates the retrieval and generation process, allowing for customization of prompts, inference parameters, and performance settings.

Sourcetype nonrec t = {
  1. promptTemplate : KnowledgeBasePromptTemplate.t option;
    (*

    A custom prompt template for orchestrating the retrieval and generation process.

    *)
  2. inferenceConfig : PromptInferenceConfiguration.t option;
    (*

    Contains inference configurations for the prompt.

    *)
  3. additionalModelRequestFields : AdditionalModelRequestFields.t option;
    (*

    The additional model-specific request parameters as key-value pairs to be included in the request to the foundation model.

    *)
  4. performanceConfig : PerformanceConfiguration.t option;
    (*

    The performance configuration options for the knowledge base retrieval and generation process.

    *)
}
Sourceval make : ?promptTemplate:??? -> ?inferenceConfig:??? -> ?additionalModelRequestFields:??? -> ?performanceConfig:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Map of ([> `String of AdditionalModelRequestFieldsKey.t ] * [> `Structure of 'a list ]) list | `Structure of (string * [> `Enum of string | `String of KnowledgeBaseTextPrompt.t | `Structure of (string * [> `Float of Temperature.t | `Integer of MaximumLength.t | `List of [> `String of String_.t ] list ]) 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