26 lines
629 B
Go
26 lines
629 B
Go
package domain
|
|
|
|
import (
|
|
"eino-project/internal/domain/context"
|
|
"eino-project/internal/domain/llm"
|
|
"eino-project/internal/domain/monitor"
|
|
"eino-project/internal/domain/session"
|
|
"eino-project/internal/domain/vector"
|
|
"eino-project/internal/domain/workflow"
|
|
|
|
"github.com/google/wire"
|
|
)
|
|
|
|
// ProviderSet is domain providers.
|
|
var ProviderSet = wire.NewSet(
|
|
context.NewContextManager,
|
|
llm.NewLLM,
|
|
monitor.NewMonitorFromBootstrapConfig,
|
|
session.NewMemorySessionManager,
|
|
workflow.NewChatWorkflow,
|
|
|
|
vector.NewVectorServiceFromBootstrapConfig,
|
|
vector.NewDocumentProcessor,
|
|
vector.NewKnowledgeSearcher,
|
|
)
|