Module Ai_provider.ModeSource

Generation mode -- controls the shape of model output.

Sourcetype json_schema = {
  1. name : string;
  2. schema : Yojson.Basic.t;
}
Sourcetype t =
  1. | Regular
  2. | Object_json of json_schema option
  3. | Object_tool of {
    1. tool_name : string;
    2. schema : json_schema;
    }