Module Values.KbInferenceConfigSource

Contains configuration details of the inference for knowledge base retrieval and response generation.

Sourcetype nonrec t = {
  1. textInferenceConfig : TextInferenceConfig.t option;
    (*

    Contains configuration details for text generation using a language model via the RetrieveAndGenerate function.

    *)
}
Sourceval make : ?textInferenceConfig:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Float of Temperature.t | `Integer of MaxTokens.t | `List of [> `String of RAGStopSequencesMemberString.t ] 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