deepseek

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2026 License: MIT Imports: 8 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 {
	*core.BaseClient
}

Client is an DeepSeek LLM client.

It implements the core.Client interface and provides access to DeepSeek's chat completion API, including GPT-3.5, GPT-4, and other models.

The client handles authentication, retries, error handling, and streaming automatically. It supports all DeepSeek features including tool calling, multimodal inputs, and extended thinking (for o1/o3 models).

func NewDeepSeek

func NewDeepSeek(config core.Config) (*Client, error)

New creates a new DeepSeek client

func (*Client) ChatStream

func (c *Client) ChatStream(ctx context.Context, messages []core.Message, opts ...core.Option) (*core.Stream, error)

ChatStream performs a streaming chat completion

Jump to

Keyboard shortcuts

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