Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// OpenaiAddr is the API address which implemented the OpenAI API.
// It like https://api.openai.com, https://ai-proxy.erda.cloud
OpenaiAddr string `json:"openaiAddr" yaml:"openaiAddr"`
// ModelIds for designated special purposes
// such as, AI create testcases use chatgpt4 for grouping. ModelIds["chatgpt4"]="5426f79c-****-****-****-1598dc10f1be"
ModelIds map[string]string `json:"modelIds" yaml:"modelIds"`
// contains filtered or unexported fields
}
type Handlers ¶
type Handlers interface {
AIFunction() pb.AiFunctionServer
}
Click to show internal directories.
Click to hide internal directories.