Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ModelList = []*model.ModelConfig{ { Model: "yi-lightning", Type: relaymode.ChatCompletions, Owner: model.ModelOwnerLingyiWanwu, InputPrice: 0.00099, OutputPrice: 0.00099, RPM: 60, Config: model.NewModelConfig( model.WithModelConfigMaxContextTokens(16384), model.WithModelConfigToolChoice(true), ), }, { Model: "yi-vision-v2", Type: relaymode.ChatCompletions, Owner: model.ModelOwnerLingyiWanwu, InputPrice: 0.006, OutputPrice: 0.006, RPM: 60, Config: model.NewModelConfig( model.WithModelConfigMaxContextTokens(16384), model.WithModelConfigVision(true), model.WithModelConfigToolChoice(true), ), }, }
Functions ¶
This section is empty.
Types ¶
type Adaptor ¶
func (*Adaptor) GetBaseURL ¶
func (*Adaptor) GetChannelName ¶
func (*Adaptor) GetModelList ¶
func (a *Adaptor) GetModelList() []*model.ModelConfig
Click to show internal directories.
Click to hide internal directories.