chatgpt

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2023 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func New

func New(ctx context.Context, wait time.Duration, remote, proxy string, profile bool) (*Client, error)

New returns a new Client.

func (*Client) Chat

func (c *Client) Chat(ctx context.Context, model string) (io.ReadWriteCloser, error)

Chat starts a new chat in a new tab.

func (*Client) Close

func (c *Client) Close() error

Close closes the client.

Jump to

Keyboard shortcuts

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