-
Notifications
You must be signed in to change notification settings - Fork 10.4k
[AIG] Refined details for AIG provider details #19248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Deploying cloudflare-docs with
|
| Latest commit: |
795d045
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://6c113e80.cloudflare-docs-7ou.pages.dev |
| Branch Preview URL: | https://aig-provider-details.cloudflare-docs-7ou.pages.dev |
| - Your AI Gateway Account ID. | ||
| - Your AI Gateway gateway name. | ||
| - An active Replicate API token. | ||
| - The name of the Replicate model you want to use. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-
think we need to check each provider individually bc looks like the replicate curl example does not include a model.
--> which leads me to wonder if this page should be updated. -
looking at replicate docs they also have an sdk example we could add https://replicate.com/docs/topics/models/run-a-model#run-a-model-with-the-api
|
|
||
| - Your AI Gateway Account ID. | ||
| - Your AI Gateway gateway name. | ||
| - An active OpenRouter API token. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
openrouter also allows users to bring their own provider api key (BYOK)
|
|
||
| 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`. | ||
|
|
||
| ## Prerequisites |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
azure openai page already had a "what you need" section so this would be duplicative.
think you just need to change "what you need" to prereqs
| - `{gateway_id}` refers to the name of your existing [AI Gateway](/ai-gateway/get-started/#create-gateway). | ||
| - `{model_id}` refers to the model ID of the [Workers AI model](/workers-ai/models/). | ||
|
|
||
| ## Prerequisites |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
think prereqs should be located before the rest api section or else the order doesn't make sense
Summary
Screenshots (optional)
Documentation checklist