dryrun

package
v1.4.64 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct{}

func NewClient

func NewClient() *Client

func (*Client) Configure

func (c *Client) Configure() error

func (*Client) GetName

func (c *Client) GetName() string

func (*Client) IsConfigured

func (c *Client) IsConfigured() bool

func (*Client) ListModels

func (c *Client) ListModels() ([]string, error)

func (*Client) Send

func (c *Client) Send(_ context.Context, msgs []*common.Message, opts *common.ChatOptions) (string, error)

func (*Client) SendStream

func (c *Client) SendStream(msgs []*common.Message, opts *common.ChatOptions, channel chan string) error

func (*Client) Setup

func (c *Client) Setup() error

func (*Client) SetupFillEnvFileContent

func (c *Client) SetupFillEnvFileContent(_ *bytes.Buffer)

Jump to

Keyboard shortcuts

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