View Source Train.LlmChain (train v0.0.1-dev)

Link to this section Summary

Functions

Creates new config with the given attributes.

Link to this section Types

@type t() :: %Train.LlmChain{
  log_level: atom(),
  max_iterations: integer(),
  memory_pid: pid(),
  openai_config: Train.Clients.OpenAIConfig.t(),
  prompts: Train.PromptSpec.t(),
  tools: [Train.ToolSpec.t()]
}

Link to this section Functions

Creates new config with the given attributes.