@ai-toolkit/deepseek
v0.1.13
Published
The **[DeepSeek provider](https://sdk.khulnasoft.com/providers/ai-toolkit-providers/deepseek)** for the [AI TOOLKIT](https://sdk.khulnasoft.com/docs) contains language model support for the [DeepSeek](https://www.deepseek.com) platform.
Downloads
43
Readme
AI TOOLKIT - DeepSeek Provider
The DeepSeek provider for the AI TOOLKIT contains language model support for the DeepSeek platform.
Setup
The DeepSeek provider is available in the @ai-toolkit/deepseek module. You can install it with
npm i @ai-toolkit/deepseekProvider Instance
You can import the default provider instance deepseek from @ai-toolkit/deepseek:
import { deepseek } from '@ai-toolkit/deepseek';Example
import { deepseek } from '@ai-toolkit/deepseek';
import { generateText } from 'ai-toolkit';
const { text } = await generateText({
model: deepseek('deepseek-chat'),
prompt: 'Write a JavaScript function that sorts a list:',
});Documentation
Please check out the DeepSeek provider for more information.
