Documentation
¶
Overview ¶
pandawiki特供方法
Index ¶
- func NewModelKit() domain.ModelKit
- func NewOpenAI() domain.IModelProvider[domain.Model]
- func PandaCheckModel(ctx context.Context, req *domain.CheckModelReq) (*domain.CheckModelResp, error)
- func PandaGetChatModel(ctx context.Context, model *domain.PandaModel) (model.BaseChatModel, error)
- func PandaModelList(ctx context.Context, req *domain.PandaGetProviderModelListReq) (*domain.GetProviderModelListResp, error)
- type ModelKit
- type OpenAI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewModelKit ¶
func PandaCheckModel ¶
func PandaCheckModel(ctx context.Context, req *domain.CheckModelReq) (*domain.CheckModelResp, error)
func PandaGetChatModel ¶
func PandaGetChatModel(ctx context.Context, model *domain.PandaModel) (model.BaseChatModel, error)
func PandaModelList ¶
func PandaModelList(ctx context.Context, req *domain.PandaGetProviderModelListReq) (*domain.GetProviderModelListResp, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.