deepseek_examples

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StrictTools

func StrictTools()

StrictTools demonstrates strict function calling mode (beta). When Function.Strict is true, the SDK automatically routes requests through the /beta endpoint and the model strictly adheres to the provided JSON Schema.

Strict mode constraints:

  • All object properties must be listed in "required"
  • Every object must set additionalProperties: false
  • String fields: minLength/maxLength are NOT supported; use pattern/format/const instead
  • Array fields: minItems/maxItems are NOT supported
  • Supported string formats: email, hostname, ipv4, ipv6, uuid

Types

This section is empty.

Jump to

Keyboard shortcuts

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