Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecService ¶
type ExecService struct {
// contains filtered or unexported fields
}
func (*ExecService) Execute ¶
func (s *ExecService) Execute(ctx context.Context, request *TaskRequest) (*TaskResponse, error)
func (*ExecService) GetServiceGroup ¶
func (s *ExecService) GetServiceGroup() string
func (*ExecService) GetServiceName ¶
func (s *ExecService) GetServiceName() string
type TaskRequest ¶
type TaskRequest struct {
Prompt string `json:"prompt"`
}
type TaskResponse ¶
type TasksEnvService ¶
type TasksEnvService struct {
// contains filtered or unexported fields
}
func NewTasksEnv ¶
func NewTasksEnv(ctx context.Context, environmentExec taskengine.EnvExecutor, dbInstance libdb.DBManager) *TasksEnvService
func (*TasksEnvService) Execute ¶
func (s *TasksEnvService) Execute(ctx context.Context, chain *taskengine.ChainDefinition, input string) (any, error)
func (*TasksEnvService) GetServiceGroup ¶
func (s *TasksEnvService) GetServiceGroup() string
func (*TasksEnvService) GetServiceName ¶
func (s *TasksEnvService) GetServiceName() string
Click to show internal directories.
Click to hide internal directories.