DeepSeek 开放全套应用 API 支持搜索与文件输入等能力
Releasing the full suite of application APIs
DeepSeek 今日开放全套应用 API,开发者启用现有 API 参数即可获得 Web 搜索、文件输入和 URL 读取等对话能力。deepseek-flash 模型在 Messages、Responses 和 Chat Completions APIs 中支持上述功能,工具调用与上下文组装由服务处理。
DeepSeek 开放全套应用 API,开发者通过现有接口启用参数便可获得搜索与文件输入等对话能力,由服务侧完成工具调用。
In the DeepSeek App (including the web version), web search, file input, URL reading, voice interaction and safety work together with model inference to form the conversation experience users know. Today we open these capabilities to developers: enable the corresponding parameters in the existing APIs to get conversation features such as web search, file input and URL reading, with the tool calls and context assembly handled by the service.
The deepseek-flash model supports the following in the Messages, Responses and Chat Completions APIs:
- Web search: with thinking disabled and the
deepseek_web_searchtool enabled, the model runs web or image searches as the question requires and answers with citations. - Deep thinking search: with thinking enabled and the
deepseek_web_searchtool enabled, the model searches the web and reads links on its own over multiple reasoning steps. - File input: upload PDFs, Office files, images, and more; after plain-text extraction or rich-layout parsing, they are added to the conversation context for the model to answer from.
- URL reading: with the
deepseek_read_urltool enabled, the model detects links in the user message, fetches the pages and answers with them in context. - Model safety: with the safety check parameter enabled, we provide basic risk control: the model input and output are reviewed, and a refusal marker is returned when a risk is found. If you provide a service to the public, enable this parameter and fulfill obligations such as content safety review, large model registration and AI labeling.
In addition, these underlying capabilities and the voice capabilities are available as standalone APIs, including Search and Fetch, OCR, ASR and TTS.
We have also built and open-sourced a demo chat client on these APIs, which can import your DeepSeek chat history; see Demo.
See Build a Chatbot for how to use them, and Models & Pricing for prices.
来源:DeepSeek API 更新日志 · api-docs.deepseek.com