Skip to content

Commit aad3ed8

Browse files
Refined details for AIG provider details
1 parent 5a33f31 commit aad3ed8

File tree

15 files changed

+115
-7
lines changed

15 files changed

+115
-7
lines changed

src/content/docs/ai-gateway/providers/anthropic.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ pcx_content_type: get-started
1111
https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/anthropic
1212
```
1313

14+
## Prerequisites
15+
16+
When making requests to Anthropic, ensure you have the following:
17+
18+
- Your AI Gateway Account ID.
19+
- Your AI Gateway gateway name.
20+
- An active Anthropic API token.
21+
- The name of the Anthropic model you want to use.
22+
1423
## Examples
1524

1625
### cURL

src/content/docs/ai-gateway/providers/azureopenai.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@ When making requests to Azure OpenAI, you will need:
2525

2626
Your new base URL will use the data above in this structure: `https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/azure-openai/{resource_name}/{deployment_name}`. Then, you can append your endpoint and api-version at the end of the base URL, like `.../chat/completions?api-version=2023-05-15`.
2727

28+
## Prerequisites
29+
30+
When making requests to Azure OpenAI, ensure you have the following:
31+
32+
- Your AI Gateway Account ID.
33+
- Your AI Gateway gateway name.
34+
- An active Azure OpenAI API token.
35+
- The name of the Azure OpenAI model you want to use.
36+
2837
## Examples
2938

3039
### cURL

src/content/docs/ai-gateway/providers/bedrock.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ sidebar:
1414
https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/aws-bedrock`
1515
```
1616

17+
## Prerequisites
18+
19+
When making requests to Amazon Bedrock, ensure you have the following:
20+
21+
- Your AI Gateway Account ID.
22+
- Your AI Gateway gateway name.
23+
- An active Amazon Bedrock API token.
24+
- The name of the Amazon Bedrock model you want to use.
25+
1726
## Make a request
1827

1928
When making requests to Amazon Bedrock, replace `https://bedrock-runtime.us-east-1.amazonaws.com/` in the URL you’re currently using with `https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/aws-bedrock/bedrock-runtime/us-east-1/`, then add the model you want to run at the end of the URL.

src/content/docs/ai-gateway/providers/cohere.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/cohere
1515

1616
When making requests to [Cohere](https://cohere.com/), replace `https://api.cohere.ai/v1` in the URL you’re currently using with `https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/cohere`.
1717

18+
## Prerequisites
19+
20+
When making requests to Cohere, ensure you have the following:
21+
22+
- Your AI Gateway Account ID.
23+
- Your AI Gateway gateway name.
24+
- An active Cohere API token.
25+
- The name of the Cohere model you want to use.
26+
1827
## Examples
1928

2029
### cURL

src/content/docs/ai-gateway/providers/google-ai-studio.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ pcx_content_type: get-started
1111
https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/google-ai-studio
1212
```
1313

14-
## What you need
14+
## Prerequisites
1515

1616
When making requests to Google AI Studio, you will need:
1717

18-
- AI Gateway account ID
19-
- AI Gateway gateway name
20-
- Google AI Studio API key
21-
- Google AI Studio model name
18+
- Your AI Gateway Account ID.
19+
- Your AI Gateway gateway name.
20+
- An active Google AI Studio API token.
21+
- The name of the Google AI Studio model you want to use.
2222

2323
## URL structure
2424

src/content/docs/ai-gateway/providers/grok.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/grok
1515

1616
When making requests to [Grok](https://docs.x.ai/docs#getting-started), replace `https://api.x.ai/v1` in the URL you are currently using with `https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/grok`.
1717

18+
## Prerequisites
19+
20+
When making requests to Grok, ensure you have the following:
21+
22+
- Your AI Gateway Account ID.
23+
- Your AI Gateway gateway name.
24+
- An active Grok API token.
25+
- The name of the Grok model you want to use.
26+
1827
## Examples
1928

2029
### cURL

src/content/docs/ai-gateway/providers/groq.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/groq
1515

1616
When making requests to [Groq](https://groq.com/), replace `https://api.groq.com/openai/v1` in the URL you’re currently using with `https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/groq`.
1717

18+
## Prerequisites
19+
20+
When making requests to Groq, ensure you have the following:
21+
22+
- Your AI Gateway Account ID.
23+
- Your AI Gateway gateway name.
24+
- An active Groq API token.
25+
- The name of the Groq model you want to use.
26+
1827
## Examples
1928

2029
### cURL

src/content/docs/ai-gateway/providers/huggingface.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/huggingface
1515

1616
When making requests to HuggingFace Inference API, replace `https://api-inference.huggingface.co/models/` in the URL you’re currently using with `https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/huggingface`. Note that the model you’re trying to access should come right after, for example `https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/huggingface/bigcode/starcoder`.
1717

18+
## Prerequisites
19+
20+
When making requests to HuggingFace, ensure you have the following:
21+
22+
- Your AI Gateway Account ID.
23+
- Your AI Gateway gateway name.
24+
- An active HuggingFace API token.
25+
- The name of the HuggingFace model you want to use.
26+
1827
## Examples
1928

2029
### cURL

src/content/docs/ai-gateway/providers/mistral.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ pcx_content_type: get-started
1111
https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/mistral
1212
```
1313

14-
## What you need
14+
## Prerequisites
1515

1616
When making requests to the Mistral AI, you will need:
1717

src/content/docs/ai-gateway/providers/openai.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,15 @@ https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/openai
1515

1616
When making requests to OpenAI, replace `https://api.openai.com/v1` in the URL you’re currently using with `https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/openai`.
1717

18+
## Prerequisites
19+
20+
When making requests to OpenAI, ensure you have the following:
21+
22+
- Your AI Gateway Account ID.
23+
- Your AI Gateway gateway name.
24+
- An active OpenAI API token.
25+
- The name of the OpenAI model you want to use.
26+
1827
## Examples
1928

2029
### cURL

0 commit comments

Comments
 (0)