package chatoyant

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

chatoyant-v0.12.4.tbz
sha256=fbf19dea0d39482e0263812504d94c682a9f3a6e93f68fe0c57b2d38ed4166b3
sha512=4e01be9c0ec9c16880f98360dec4ef5e0dddd9192e2113991b154e891b3bdaefb614051c2cb63afa0b714efa0e4cc4fd8054528fdc1995f3a4858fe2fcd50256

doc/chatoyant.core/Chatoyant_core/Options/index.html

Module Chatoyant_core.OptionsSource

Unified generation options.

Sourcetype reasoning =
  1. | Off
  2. | Low
  3. | Medium
  4. | High
Sourcetype creativity =
  1. | Precise
  2. | Balanced
  3. | Creative
  4. | Wild
Sourcetype model_preset =
  1. | Fast
  2. | Cheap
  3. | Best
  4. | Balanced_model
  5. | Reasoning
Sourcetype t = {
  1. provider : Chatoyant_provider.Provider.id option;
  2. model : string option;
  3. timeout_ms : int option;
  4. retries : int;
  5. local_base_url : string option;
  6. local_api_key : string option;
  7. local_timeout_ms : int option;
  8. temperature : float option;
  9. creativity : creativity option;
  10. max_tokens : int option;
  11. top_p : float option;
  12. stop : string list;
  13. frequency_penalty : float option;
  14. presence_penalty : float option;
  15. reasoning : reasoning option;
  16. thinking_budget : int option;
  17. max_tool_iterations : int;
  18. tool_timeout_ms : int option;
  19. extra : Chatoyant_runtime.Json.t option;
}
Sourceval default_timeout_ms : int
Sourceval default_retries : int
Sourceval default_max_tool_iterations : int
Sourceval default_tool_timeout_ms : int
Sourceval default : t
Sourceval merge : t -> t -> t
Sourceval temperature_of_creativity : creativity -> float
Sourceval reasoning_effort : reasoning -> string
Sourceval anthropic_thinking_budget : reasoning -> int option