wrap

package
v0.0.0-...-e2cee1a Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewOpenAiClient

func NewOpenAiClient(fp, key string) (client *openai.Client, err error)

Types

type Config

type Config struct {
	Url     string `mapstructure:"url"`
	API_Key string `mapstructure:"api_key"`
	ORG_ID  string `mapstructure:"org_id"`

	Proxy         string `mapstructure:"proxy"`
	User          string `mapstructure:"user"`
	Password      string `mapstructure:"password"`
	TlsSkipVerify bool   `mapstructure:"tls_skip_verify"`
}

Jump to

Keyboard shortcuts

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