Documentation
¶
Index ¶
- func CheckModel(ctx context.Context, req *domain.CheckModelReq) (*domain.CheckModelResp, error)
- func GetChatModel(ctx context.Context, model *domain.PandaModel) (model.BaseChatModel, error)
- func ModelList(ctx context.Context, req *domain.PandaGetProviderModelListReq) (*domain.GetProviderModelListResp, error)
- func NewOpenAI() domain.IModelProvider[domain.Model]
- type OpenAI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckModel ¶ added in v1.0.4
func CheckModel(ctx context.Context, req *domain.CheckModelReq) (*domain.CheckModelResp, error)
func GetChatModel ¶ added in v1.0.4
func GetChatModel(ctx context.Context, model *domain.PandaModel) (model.BaseChatModel, error)
func ModelList ¶ added in v1.0.4
func ModelList(ctx context.Context, req *domain.PandaGetProviderModelListReq) (*domain.GetProviderModelListResp, error)
Types ¶
Click to show internal directories.
Click to hide internal directories.