Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GithubProvider ¶
type GithubProvider struct {
openai.OpenAIProvider
}
func (*GithubProvider) GetModelList ¶
func (p *GithubProvider) GetModelList() ([]string, error)
type GithubProviderFactory ¶
type GithubProviderFactory struct{}
func (GithubProviderFactory) Create ¶
func (f GithubProviderFactory) Create(channel *model.Channel) base.ProviderInterface
创建 GithubProvider
type ModelInfo ¶
type ModelInfo struct {
ID string `json:"id"`
Name string `json:"name"`
FriendlyName string `json:"friendly_name"`
ModelVersion int `json:"model_version"`
Publisher string `json:"publisher"`
ModelFamily string `json:"model_family"`
ModelRegistry string `json:"model_registry"`
License string `json:"license"`
Task string `json:"task"`
Description string `json:"description"`
Summary string `json:"summary"`
Tags []string `json:"tags"`
}
type ModelListResponse ¶
type ModelListResponse []ModelInfo
Click to show internal directories.
Click to hide internal directories.