Dspy.Settings (dspy v0.1.0)
View SourceGlobal configuration management for DSPy.
Maintains settings like language model configuration, generation parameters, and optimization settings in a GenServer for thread-safe access.
Summary
Functions
Returns a specification to start this module under a supervisor.
Configure global DSPy settings.
Get current settings.
Get a specific setting.
Types
@type t() :: %Dspy.Settings{ cache: boolean(), experimental: [atom()], lm: Dspy.LM.t() | nil, max_tokens: pos_integer(), temperature: float() }
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Configure global DSPy settings.
Get current settings.
Get a specific setting.