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.
Click to show internal directories.
Click to hide internal directories.