Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ZhiPuAILite string = "chatglm_lite" ZhiPuAIStd string = "chatglm_std" ZhiPuAIPro string = "chatglm_pro" ZhiPuAITurbo string = "chatglm_turbo" )
View Source
var OpenAIModels = []string{"gpt-3.5", "gpt-3.5-turbo"}
View Source
var ZhiPuAIModels = []string{ZhiPuAILite, ZhiPuAIStd, ZhiPuAIPro, ZhiPuAITurbo}
Functions ¶
This section is empty.
Types ¶
type LLM ¶
type LLM interface { Type() LLMType Call([]byte) (Response, error) Validate(context.Context, ...langchainllms.CallOption) (Response, error) }
type ModelParams ¶
type UnknowLLM ¶
type UnknowLLM struct{}
func NewUnknowLLM ¶
func NewUnknowLLM() UnknowLLM
func (UnknowLLM) Validate ¶
func (unknown UnknowLLM) Validate(ctx context.Context, options ...langchainllms.CallOption) (Response, error)
Click to show internal directories.
Click to hide internal directories.