config

package
v0.0.0-...-0e0034f Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChatGPT

type ChatGPT struct {
	OpenAPIKey   string `yaml:"OpenAPIKey" json:",optional"`
	Model        string `yaml:"Model" json:",optional"`
	Organization string `yaml:"Organization" json:",optional"`
	HttpDebug    bool   `yaml:"HttpDebug" json:",optional"`
	BaseUrl      string `yaml:"BaseUrl" json:",optional"`
	APIType      string `yaml:"APIType" json:",optional"`
	APIVersion   string `yaml:"APIVersion" json:",optional"`
}

func (*ChatGPT) GetName

func (c *ChatGPT) GetName() string

func (*ChatGPT) Validate

func (c *ChatGPT) Validate() error

type THUDMGLM

type THUDMGLM struct {
	HttpDebug bool   `yaml:"HttpDebug" json:",optional"`
	BaseUrl   string `yaml:"BaseUrl" json:",optional"`
}

func (*THUDMGLM) GetName

func (c *THUDMGLM) GetName() string

func (*THUDMGLM) Validate

func (c *THUDMGLM) Validate() error

type XFYun

type XFYun struct {
	WebSocketUrl string `yaml:"WebSocketUrl" json:",optional"`
	AppId        string `yaml:"AppId" json:",optional"`
	APISecret    string `yaml:"APISecret" json:",optional"`
	APIKey       string `yaml:"APIKey" json:",optional"`
	HttpDebug    bool   `yaml:"HttpDebug" json:",optional"`
}

func (*XFYun) GetName

func (c *XFYun) GetName() string

func (*XFYun) Validate

func (c *XFYun) Validate() error

Jump to

Keyboard shortcuts

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