Module Values.InvocationLogsConfigSource

Settings for using invocation logs to customize a model.

Sourcetype nonrec t = {
  1. usePromptResponse : UsePromptResponse.t option;
    (*

    Whether to use the model's response for training, or just the prompt. The default value is False.

    *)
  2. invocationLogSource : InvocationLogSource.t;
    (*

    The source of the invocation logs.

    *)
  3. requestMetadataFilters : RequestMetadataFilters.t option;
    (*

    Rules for filtering invocation logs based on request metadata.

    *)
}
Sourceval context_ : string
Sourceval make : ?usePromptResponse:??? -> ?requestMetadataFilters:??? -> invocationLogSource:InvocationLogSource.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of UsePromptResponse.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Map of ([> `String of RequestMetadataMapKeyString.t ] * [> `String of RequestMetadataMapValueString.t ]) list ]) list ] list | `Map of ([> `String of RequestMetadataMapKeyString.t ] * [> `String of RequestMetadataMapValueString.t ]) list | `String of S3Uri.t ]) 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