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.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