Module Values.EvaluationDatasetSource

Used to specify the name of a built-in prompt dataset and optionally, the Amazon S3 bucket where a custom prompt dataset is saved.

Sourcetype nonrec t = {
  1. name : EvaluationDatasetName.t;
    (*

    Used to specify supported built-in prompt datasets. Valid values are Builtin.Bold, Builtin.BoolQ, Builtin.NaturalQuestions, Builtin.Gigaword, Builtin.RealToxicityPrompts, Builtin.TriviaQA, Builtin.T-Rex, Builtin.WomensEcommerceClothingReviews and Builtin.Wikitext2.

    *)
  2. datasetLocation : EvaluationDatasetLocation.t option;
    (*

    For custom prompt datasets, you must specify the location in Amazon S3 where the prompt dataset is saved.

    *)
}
Sourceval context_ : string
Sourceval make : ?datasetLocation:??? -> name:EvaluationDatasetName.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of EvaluationDatasetName.t | `Structure of (string * [> `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