deepseek

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conf

type Conf struct {
	// chat
	Email    string `yaml:"email"`
	Password string `yaml:"password"`

	Index int `yaml:"index,omitempty"`
}

type Dseek

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

func New

func New(c *Conf) *Dseek

func (*Dseek) Call

func (d *Dseek) Call(ctx context.Context, prompt string, options ...llms.CallOption) (string, error)

func (*Dseek) GenerateContent

func (d *Dseek) GenerateContent(ctx context.Context, messages []llms.MessageContent, options ...llms.CallOption) (*llms.ContentResponse, error)

func (*Dseek) Index

func (d *Dseek) Index() int

func (*Dseek) Name

func (d *Dseek) Name() string

Jump to

Keyboard shortcuts

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