package chatoyant

Build not checked
  1. Overview
  2. Docs
OCaml-first LLM SDK with Melange-generated JavaScript

Install

dune-project
 Dependency

Authors

Maintainers

Sources

chatoyant-v0.17.2.tbz
sha256=7d2851d5866e9559e38f5be15faced64b9b371dfb4f19e4d2de9d6f4590a7d58
sha512=afb615027fa7c3780a264e956d1b17b924b726f4c1dd6d5c7558ccc9ec0bd76a07f4f6e76db1037f0a57582811090b74bcac4033af408b2eb6b91abb75546173

doc/chatoyant.native/Chatoyant_native/Provider/index.html

Module Chatoyant_native.ProviderSource

Sourceval openai : ?https:Http.https -> ?max_response_size:int -> ?base_url:string -> ?timeout_ms:int -> net:_ Eio.Net.t -> clock:_ Eio.Time.clock -> api_key:string -> unit -> (module Chatoyant_provider.Provider.CHAT)

OpenAI unified chat provider using the Responses API.

Sourceval anthropic : ?https:Http.https -> ?max_response_size:int -> ?base_url:string -> ?timeout_ms:int -> ?anthropic_version:string -> ?beta_headers:string list -> net:_ Eio.Net.t -> clock:_ Eio.Time.clock -> api_key:string -> unit -> (module Chatoyant_provider.Provider.CHAT)

Anthropic unified chat provider.

Sourceval xai : ?https:Http.https -> ?max_response_size:int -> ?base_url:string -> ?timeout_ms:int -> net:_ Eio.Net.t -> clock:_ Eio.Time.clock -> api_key:string -> unit -> (module Chatoyant_provider.Provider.CHAT)

xAI unified chat provider.

Sourceval meta : ?https:Http.https -> ?max_response_size:int -> ?base_url:string -> ?timeout_ms:int -> net:_ Eio.Net.t -> clock:_ Eio.Time.clock -> api_key:string -> unit -> (module Chatoyant_provider.Provider.CHAT)

Meta Model API (Muse Spark) unified chat provider.

Sourceval openrouter : ?https:Http.https -> ?max_response_size:int -> ?timeout_ms:int -> ?http_referer:string -> ?title:string -> ?headers:(string * string) list -> net:_ Eio.Net.t -> clock:_ Eio.Time.clock -> api_key:string -> unit -> (module Chatoyant_provider.Provider.CHAT)

OpenRouter unified chat provider.

Sourceval local : ?https:Http.https -> ?max_response_size:int -> ?api_key:string -> ?timeout_ms:int -> ?headers:(string * string) list -> net:_ Eio.Net.t -> clock:_ Eio.Time.clock -> base_url:string -> unit -> (module Chatoyant_provider.Provider.CHAT)

Local OpenAI-compatible unified chat provider for Ollama, LM Studio, llama.cpp server, vLLM, and similar endpoints.