package chatoyant

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

chatoyant-v0.12.2.tbz
sha256=a885dcf4b3c6ede268e2027bedf6955a5c889f7ed01c40b719f8369655957d47
sha512=0bb8dfa12157ba2e482927717c2242c1ea914dce1427801e405987811550afbd6d6b11f07d1e1379259360d17f4ca43ff81963bf407cddb7bedd0dfbb93a55ee

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