gpt

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GPTContext

type GPTContext struct {
	// contains filtered or unexported fields
}

func New

func New(apiKey string, logger *zerolog.Logger) (*GPTContext, error)

New function creates APIContext instance.

func (*GPTContext) APIKey

func (gctx *GPTContext) APIKey() string

ApiKey method returns API key string.

func (*GPTContext) Logger

func (gctx *GPTContext) Logger() *zerolog.Logger

Logger method returns logger.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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