View Source Agens.Agent.Config (agens v0.1.1)
The Config struct represents the configuration for an Agent process.
Fields
:name
- The name of the Agent process.:serving
- The serving module orNx.Serving
struct for the Agent.:knowledge
- The knowledge base or data source of the Agent. Default is nil. (Coming soon):prompt
- The string orAgens.Agent.Prompt
struct defining the Agent. Default is nil.:tool
- The module implementing theAgens.Tool
behaviour for the Agent. Default is nil.
Summary
Types
@type t() :: %Agens.Agent.Config{ knowledge: module() | nil, name: atom(), prompt: Agens.Agent.Prompt.t() | String.t() | nil, serving: module() | Nx.Serving.t(), tool: module() | nil }