-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'cloudflare:production' into patch-4
- Loading branch information
Showing
19 changed files
with
211 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
import type { Props } from "@astrojs/starlight/props"; | ||
import Default from "@astrojs/starlight/components/LastUpdated.astro"; | ||
// Disable lastUpdated in footer if `updated` is present, | ||
// since this will show the date in PageTitle.astro instead. | ||
if (Astro.props.entry.data.updated) { | ||
Astro.props.lastUpdated = undefined; | ||
} | ||
--- | ||
|
||
<Default {...Astro.props} /> |
34 changes: 34 additions & 0 deletions
34
src/content/changelogs-next/2025-01-07-aig-provider-deepseek.mdx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
title: AI Gateway adds DeepSeek as a Provider | ||
description: AI Gateway has added DeepSeek as a new provider. | ||
products: | ||
- ai-gateway | ||
date: 2025-01-02T11:00:00Z | ||
--- | ||
|
||
[**AI Gateway**](/ai-gateway/) now supports [**DeepSeek**](/ai-gateway/providers/deepseek/), including their cutting-edge DeepSeek-V3 model. With this addition, you have even more flexibility to manage and optimize your AI workloads using AI Gateway. Whether you're leveraging DeepSeek or other providers, like OpenAI, Anthropic, or [Workers AI](/workers-ai/), AI Gateway empowers you to: | ||
|
||
- **Monitor**: Gain actionable insights with analytics and logs. | ||
- **Control**: Implement caching, rate limiting, and fallbacks. | ||
- **Optimize**: Improve performance with feedback and evaluations. | ||
|
||
![AI Gateway adds DeepSeek as a provider](~/assets/images/ai-gateway/deepseek.png) | ||
|
||
To get started, simply update the base URL of your DeepSeek API calls to route through AI Gateway. Here's how you can send a request using cURL: | ||
|
||
```bash title="Example fetch request" | ||
curl https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/deepseek/chat/completions \ | ||
--header 'content-type: application/json' \ | ||
--header 'Authorization: Bearer DEEPSEEK_TOKEN' \ | ||
--data '{ | ||
"model": "deepseek-chat", | ||
"messages": [ | ||
{ | ||
"role": "user", | ||
"content": "What is Cloudflare?" | ||
} | ||
] | ||
}' | ||
``` | ||
|
||
For detailed setup instructions, see our [DeepSeek provider documentation](/ai-gateway/providers/deepseek/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.