Versions in this module Expand all Collapse all v0 v0.0.2 Jan 29, 2026 v0.0.1 Jan 29, 2026 Changes in this version + type Chain struct + func NewChain[TInput, TOutput any](chatModel model.ToolCallingChatModel, promptBuilder PromptBuilder[TInput], ...) (*Chain[TInput, TOutput], error) + func (s *Chain[TInput, TOutput]) GetToolInfo() *schema.ToolInfo + func (s *Chain[TInput, TOutput]) Invoke(ctx context.Context, input TInput) (*TOutput, error) + func (s *Chain[TInput, TOutput]) Stream(ctx context.Context, input TInput) (*schema.StreamReader[*TOutput], error) + type PromptBuilder func(ctx context.Context, input TInput) ([]*schema.Message, error)