Documentation
¶
Index ¶
- func CheckModel(ctx context.Context, req *domain.CheckModelReq) (*domain.CheckModelResp, error)
- func GetChatModel(ctx context.Context, model *domain.ModelMetadata) (model.BaseChatModel, error)
- func ModelList(ctx context.Context, req *domain.ModelListReq) (*domain.ModelListResp, error)
- func NewOpenAI() domain.IModelProvider[domain.ModelMetadata]
- type OpenAI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckModel ¶
func CheckModel(ctx context.Context, req *domain.CheckModelReq) (*domain.CheckModelResp, error)
func GetChatModel ¶
func GetChatModel(ctx context.Context, model *domain.ModelMetadata) (model.BaseChatModel, error)
func ModelList ¶
func ModelList(ctx context.Context, req *domain.ModelListReq) (*domain.ModelListResp, error)
func NewOpenAI ¶
func NewOpenAI() domain.IModelProvider[domain.ModelMetadata]
Types ¶
Click to show internal directories.
Click to hide internal directories.