View Source LlmComposer.Settings (llm_composer v0.13.0)

Defines the settings for configuring chat interactions with a language model.

This module provides a struct that includes model configuration and prompt settings, enabling fine control over the chat flow and behavior.

Summary

Types

@type t() :: %LlmComposer.Settings{
  api_key: String.t() | nil,
  provider: module() | nil,
  provider_opts: keyword() | nil,
  providers: [{module(), keyword()}] | nil,
  stream_response: boolean(),
  system_prompt: String.t() | nil,
  track_costs: boolean(),
  user_prompt_prefix: String.t()
}