Repository navigation
Improve Azure AI Foundry setup in the Python quickstart docs - #729
Merged
borko-cohere merged 2 commits intoApr 2, 2026
Merged
Conversation
Contributor
|
🌿 Preview your docs: https://cohere-preview-21653c35-7b4d-4869-9c95-8de136a7ece3.docs.buildwithfern.com |
andrewbcohere
approved these changes
Apr 1, 2026
mkozakov
approved these changes
Apr 2, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Clarifies Azure AI Foundry setup in the Python quickstart docs by adding example
base_urlvalues next to the placeholder.Expands the one-line
cohere.Client(...)call to a multi-line form for readability, consistent with other tabs.Reduces confusion when developers copy snippets for Azure: they can see what a real endpoint looks like while still swapping in their key and deployment-specific URL. Reduces errors where developers were adding
/v2/rerank(for example) to their endpoint URL.Note
Low Risk
Low risk documentation-only changes; the main risk is minor user confusion if example endpoint formats are incorrect, but no runtime code is affected.
Overview
Improves Azure AI setup guidance in Python quickstarts. Azure tabs across v1 and v2 quickstarts now show
base_urlplaceholders with inline example Azure AI Foundry endpoint URLs to make copy/paste setup less error-prone.Also normalizes a few Azure client snippets for readability/consistency (e.g., expanding the rerank quickstart’s one-line
cohere.Client(...)into a multi-line call and standardizing Azure API key/endpoint placeholders).Written by Cursor Bugbot for commit 8f86c00. This will update automatically on new commits. Configure here.