deepseek

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2026 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Overview

Package deepseek connects to the DeepSeek API.

Index

Constants

View Source
const (
	ProviderOptionLogprobs         = "logprobs"
	ProviderOptionTopLogprobs      = "top_logprobs"
	ProviderOptionUserID           = "user_id"
	ProviderOptionFrequencyPenalty = "frequency_penalty"
	ProviderOptionPresencePenalty  = "presence_penalty"
)

Keys accepted in Request.ProviderOptions, sent as native request fields.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config = compat.Config

Config and Provider are shared with package compat.

type Provider added in v1.9.0

type Provider = compat.Provider

Config and Provider are shared with package compat.

func New

func New(cfg Config) (*Provider, error)

New connects to https://api.deepseek.com. Thinking maps to thinking.type "enabled" or "disabled" with Effort as reasoning_effort; BudgetTokens is rejected.

Jump to

Keyboard shortcuts

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