agentsdk

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APITask added in v0.0.2

func APITask(client *task.APIClient, req task.APIRequest) task.TaskFunc

APITask creates a task function for making an API request

func NewAPIClient added in v0.0.2

func NewAPIClient(baseURL string, timeout time.Duration) *task.APIClient

NewAPIClient creates a new API client for making API calls

func NewAgent

func NewAgent(options ...agent.Option) (*agent.Agent, error)

NewAgent creates a new agent with the given options

func NewTaskExecutor added in v0.0.2

func NewTaskExecutor() *task.Executor

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 WithLLM

func WithLLM(llm interfaces.LLM) agent.Option

WithLLM sets the LLM for the agent

func WithMemory

func WithMemory(memory interfaces.Memory) agent.Option

WithMemory sets the memory for the agent

func WithOrgID

func WithOrgID(orgID string) agent.Option

WithOrgID sets the organization ID for multi-tenancy

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
llm
Package task provides task management functionality.
Package task provides task management functionality.
aws
vectorstore

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL