ocaml-ai-sdk.ai_provider
Ai_provider.Mode
Generation mode -- controls the shape of model output.
ocaml-ai-sdk.ai_core
ocaml-ai-sdk.ai_provider_anthropic
ocaml-ai-sdk.ai_provider_openai
type json_schema = {
name : string;
schema : Yojson.Basic.t;
}
type t =
| Regular
| Object_json of json_schema option
| Object_tool of {
tool_name : string;
schema : json_schema;