Documentation ¶
Index ¶
- Variables
- func InitCaseExamineHandler(common []handler.Builder, platform handler.Handler) *biz.CompositionHandler
- func InitCommonHandlers(log *log.HandlerBuilder, cfg *config.HandlerBuilder, ...) []handler.Builder
- func InitHandlerFacade(common []handler.Builder, zhipu *zhipu.Handler) *biz.FacadeHandler
- func InitLLMCreditLogDAO(db *egorm.Component) dao.LLMCreditDAO
- func InitQuestionExamineHandler(common []handler.Builder, platform handler.Handler) *biz.CompositionHandler
- func InitTableOnce(db *gorm.DB)
- func InitZhipu() *zhipu.Handler
- type LLMRequest
- type LLMResponse
- type LLMService
- type Module
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInsufficientCredit = credit.ErrInsufficientCredit
Functions ¶
func InitCaseExamineHandler ¶ added in v0.2.1
func InitCommonHandlers ¶
func InitCommonHandlers(log *log.HandlerBuilder, cfg *config.HandlerBuilder, credit *credit.HandlerBuilder, record *record.HandlerBuilder) []handler.Builder
func InitHandlerFacade ¶
func InitLLMCreditLogDAO ¶
func InitLLMCreditLogDAO(db *egorm.Component) dao.LLMCreditDAO
func InitTableOnce ¶
Types ¶
type LLMRequest ¶
type LLMRequest = domain.LLMRequest
type LLMResponse ¶
type LLMResponse = domain.LLMResponse
type LLMService ¶
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
service/llm/handler/mocks
Code generated by MockGen.
|
Code generated by MockGen. |
Code generated by MockGen.
|
Code generated by MockGen. |
Click to show internal directories.
Click to hide internal directories.