Documentation
¶
Index ¶
- func InitManageApplication(ctx context.Context, configFactory conf.IConfigLoaderFactory, ...) (manage.LLMManageService, error)
- func InitRuntimeApplication(ctx context.Context, idGen idgen.IIDGenerator, ...) (runtime.LLMRuntimeService, error)
- func NewManageApplication(manageSrv service.IManage, auth rpc.IAuthProvider) manage.LLMManageService
- func NewRuntimeApplication(manageSrv service.IManage, runtimeSrv service.IRuntime, redis redis.Cmdable, ...) runtime.LLMRuntimeService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitManageApplication ¶
func InitManageApplication(ctx context.Context, configFactory conf.IConfigLoaderFactory, authClient authservice.Client) (manage.LLMManageService, error)
func InitRuntimeApplication ¶
func InitRuntimeApplication(ctx context.Context, idGen idgen.IIDGenerator, configFactory conf.IConfigLoaderFactory, db2 db.Provider, redis2 redis.Cmdable, factory limiter.IRateLimiterFactory) (runtime.LLMRuntimeService, error)
func NewManageApplication ¶
func NewManageApplication( manageSrv service.IManage, auth rpc.IAuthProvider, ) manage.LLMManageService
func NewRuntimeApplication ¶
func NewRuntimeApplication( manageSrv service.IManage, runtimeSrv service.IRuntime, redis redis.Cmdable, factory limiter.IRateLimiterFactory, ) runtime.LLMRuntimeService
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.