Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunInput ¶
type RunInput struct {
ParentLocation string `json:"parentLocation,omitempty"`
Location string `json:"location,omitempty"`
Tasks []string `json:"tasks,omitempty"`
Context map[string]interface{} `json:"parameters,omitempty"`
Workflow *model.Workflow `json:"workflow,omitempty"`
Source []byte `json:"source,omitempty"`
IgnoreError bool `json:"throwError,omitempty"`
Async bool `json:"wait,omitempty"`
WaitTimeInMs int `json:"WaitTimeInMs,omitempty"`
}
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service extracts structured information from LLM responses
func New ¶
func New(processor *processor.Service, workflowDao *workflow.Service, processDao dao.Service[string, execution.Process]) *Service
New creates a new extractor service
func (*Service) Method ¶
func (s *Service) Method(name string) (types.Executable, error)
Method returns the specified method
func (*Service) Methods ¶
func (s *Service) Methods() types.Signatures
Methods returns the service methods
func (*Service) WaitForProcess ¶
func (s *Service) WaitForProcess(ctx context.Context, id string, timeoutMs int) (*WaitOutput, error)
WaitForProcess waits for a process to complete
type StatusInput ¶
type StatusInput struct {
ProcessID string `json:"processID,omitempty"`
}
type StatusOutput ¶
Click to show internal directories.
Click to hide internal directories.