package chatoyant

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

chatoyant-v0.13.0.tbz
sha256=1f84c5229b2d58ec6264dd651a58f2686130afa6e91989f110aa7aaf10bba0f5
sha512=49142e122dbb44b03f7f27b52839492800332207d0efeacc7451173827c899a9b965b671a3d9028cc05250aaebbc6789d3815a6cf356f4319bc0c1b0454c68dd

doc/chatoyant.provider/Chatoyant_provider/Meta/index.html

Module Chatoyant_provider.MetaSource

Meta Model API (Muse Spark) adapter.

Rides the OpenAI-compatible /v1/responses protocol at https://api.meta.ai/v1 and reuses the OpenAI serializers and client. Encodes the Muse Spark wire rules: reasoning cannot be disabled (reasoning_effort "none"/"off" is omitted instead of sent), only the "auto" tool_choice is forwarded, stop sequences are dropped, sampling parameters pass through, and web_search becomes the built-in server-side tool. For raw endpoint access beyond generation, use Openai.Make_client with default_base_url.

Sourceval default_base_url : string

https://api.meta.ai/v1

Sourceval models : string list

Hosted Muse Spark model ids, current generation first. The -contributor variant is the discounted tier that permits Meta to train on request data — priced and recognized, but never a preset default.

Build the Responses-API request for one generation turn, applying the Muse Spark wire rules above.

Sourcemodule Make_provider (Http : Chatoyant_runtime.Effect.HTTP) (Config : sig ... end) : sig ... end