ai_functions

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 15, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL