Documentation
¶
Index ¶
- func APITask(client *task.APIClient, req task.APIRequest) task.TaskFunc
- func NewAPIClient(baseURL string, timeout time.Duration) *task.APIClient
- func NewAgent(options ...agent.Option) (*agent.Agent, error)
- func NewTaskExecutor() *task.Executor
- func NewTemporalClient(config task.TemporalConfig) *task.TemporalClient
- func TemporalWorkflowAsyncTask(client *task.TemporalClient, workflowName string) task.TaskFunc
- func TemporalWorkflowTask(client *task.TemporalClient, workflowName string) task.TaskFunc
- func WithGuardrails(guardrails interfaces.Guardrails) agent.Option
- func WithLLM(llm interfaces.LLM) agent.Option
- func WithMemory(memory interfaces.Memory) agent.Option
- func WithOrgID(orgID string) agent.Option
- func WithTools(tools ...interfaces.Tool) agent.Option
- func WithTracer(tracer interfaces.Tracer) agent.Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAPIClient ¶ added in v0.0.2
NewAPIClient creates a new API client for making API calls
func NewTaskExecutor ¶ added in v0.0.2
NewTaskExecutor creates a new task executor
func NewTemporalClient ¶ added in v0.0.2
func NewTemporalClient(config task.TemporalConfig) *task.TemporalClient
NewTemporalClient creates a new Temporal client for executing workflows
func TemporalWorkflowAsyncTask ¶ added in v0.0.2
func TemporalWorkflowAsyncTask(client *task.TemporalClient, workflowName string) task.TaskFunc
TemporalWorkflowAsyncTask creates a task function for executing a Temporal workflow asynchronously
func TemporalWorkflowTask ¶ added in v0.0.2
func TemporalWorkflowTask(client *task.TemporalClient, workflowName string) task.TaskFunc
TemporalWorkflowTask creates a task function for executing a Temporal workflow
func WithGuardrails ¶
func WithGuardrails(guardrails interfaces.Guardrails) agent.Option
WithGuardrails sets the guardrails for the agent
func WithMemory ¶
func WithMemory(memory interfaces.Memory) agent.Option
WithMemory sets the memory for the agent
func WithTools ¶
func WithTools(tools ...interfaces.Tool) agent.Option
WithTools sets the tools for the agent
func WithTracer ¶
func WithTracer(tracer interfaces.Tracer) agent.Option
WithTracer sets the tracer for the agent
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
datastore
|
|
|
Package task provides task management functionality.
|
Package task provides task management functionality. |
|
vectorstore
|
|
Click to show internal directories.
Click to hide internal directories.