deepseek-ai/deepseek-recipe

No repository description was reported by the source.

Open original source ↗

Older snapshot: check the original source for current information.

From the publisher

README & documentation

Source preview

Read the project’s overview, installation instructions and usage examples. The original README is the source of truth.

English | 中文 deepseek-recipe is a collection of Rust libraries and Python bindings that uniformly convert API requests in different formats into the Conversation format, render conversations into prompts for DeepSeek models, encode conversations into token IDs with an attached tokenizer, and convert model output into responses in the corresponding format. Use these components to connect an inference backend to API services that support multiple formats. The caller must provide model inference, tool execution, and HTTP transport. Getting started · Streaming response · Use with tokenizer · License Responses requests, Streaming response, and complete responses. Supports text, images, thinking mode, client tool calls, and Chat Completions prefix continuation. encoding of conversations into token IDs with an attached tokenizer. topp, and output token limits. After the caller encodes the prompt, ConversationRequest::resolvemaxtokens checks the prompt and maxtokens against the context limit and supplies the maxtokens default when the request sets none: 8192…

deepseek-ai/deepseek-recipe on GitHub A short preview, not the full document.

Read the full README ↗ · Preview checked 2026-10-31T05:55:09.846Z

Inside the original README — Document outline
  1. deepseek-recipe
  2. Supported scope
  3. Using deepseek-recipe
  4. Python
  5. Installation
  6. Example
  7. Rust
  8. Installation
  9. Example
  10. Encoding & Decoding Demo
  11. More examples
  12. Packages and example projects

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Links from the README

References supplied by the publisher, not independently verified endorsements. Check the destination before downloading files or entering credentials.

Documentation belongs to its respective authors. Reported project/model license: MIT. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

What this repository does

The source does not provide a repository description. Read the project README before evaluating it.

Repository facts

Owner
deepseek-ai
Primary language
Rust
Stars
339
Forks
28
Open issues + pull requests
11
License
MIT
Archived
No
Default branch
main
Created
2026-09-10T05:36:48.000Z
Last push
2026-09-10T10:44:49.000Z

Topics and intended use

No topics were included in the latest source metadata.

Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.

Evaluate before installing

Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.

README and project files

Issues and maintenance discussion

Releases and changelog

Source and freshness

Source: GitHub. Metadata observed 2026-09-17T06:39:50.747Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related repositories

ultraworkers/claw-code

clash-verge-rev/clash-verge-rev

farion1231/cc-switch

openai/codex

rustdesk/rustdesk

rust-lang/rust