package chatoyant

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

chatoyant-v0.12.1.tbz
sha256=72752addb69fe17825f43f5a861f8d0a7817f6a5a711916e722023e10679daff
sha512=d1a62989e34f8b9173d4c53f8e17c611900855df8a139888e73ee509b445ef1e65105c17bb399bf25712a893a251827513f18ed36d0e2b3fcc908fb00584c6f3

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