services

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2025 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct {
	Config          *config.Config
	DB              *ent.Client
	Logger          *zap.SugaredLogger
	AIService       ai.AiService
	TableService    table.TableService
	ProviderService provider.ProviderService
	WorkflowService workflow.WorkflowService
	DatasetService  dataset.DatasetService
}

func CreateBackend

func CreateBackend(cmd *cobra.Command, verbose bool) *Backend

func NewBackend

func NewBackend(
	config *config.Config, db *ent.Client,
	logger *zap.SugaredLogger, aiService ai.AiService, tableService table.TableService,
	providerService provider.ProviderService, workflowService workflow.WorkflowService, datasetService dataset.DatasetService,
) *Backend

Directories

Path Synopsis
ai

Jump to

Keyboard shortcuts

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