Skip to content

Commit

Permalink
Update cohere command sample (#3393)
Browse files Browse the repository at this point in the history
* Update embedding sample

* Command - Update webrequests.ipynb

* Command - Update openaisdk.ipynb

* Command - Update langchain.ipynb

* Command - Update cohere-cmdR.ipynb

* Command - Update litellm.ipynb

* Formatted filed

* Remove embedding sample

* Update command_tools-langchain.ipynb

* Update command_tools-langchain.ipynb
  • Loading branch information
shubhirajMsft authored Sep 27, 2024
1 parent cf7d2d4 commit 3939a01
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions sdk/python/foundation-models/cohere/cohere-cmdR.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Use Cohere Command R or Cohere Command R+ in Azure AI and Azure ML\n",
"# Use Cohere Command R 08-2024, Cohere Command R+ 08-2024, Command R and Command R+ in Azure AI and Azure ML\n",
"\n",
"Use `cohere` client to consume Cohere Command R or Cohere Command R+ deployments in Azure AI and Azure ML..\n",
"\n",
Expand All @@ -22,7 +22,7 @@
"* Register for a valid Azure account with subscription \n",
"* Make sure you have access to [Azure AI Studio](https://learn.microsoft.com/en-us/azure/ai-studio/what-is-ai-studio?tabs=home)\n",
"* Create a project and resource group\n",
"* Select `Cohere Command R` or `Cohere Command R+`.\n",
"* Select `Cohere Command R 08-2024`, `Cohere Command R+ 08-2024`,`Cohere Command R`, `Cohere Command R+`.\n",
"\n",
" > Notice that some models may not be available in all the regions in Azure AI and Azure Machine Learning. On those cases, you can create a workspace or project in the region where the models are available and then consume it with a connection from a different one. To learn more about using connections see [Consume models with connections](https://learn.microsoft.com/en-us/azure/ai-studio/how-to/deployments-connections)\n",
"\n",
Expand Down
4 changes: 2 additions & 2 deletions sdk/python/foundation-models/cohere/langchain.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Use LangChain with Cohere Command R or Cohere Command R+ in Azure AI and Azure ML\n",
"# Use LangChain with Cohere Command R 08-2024, Cohere Command R+ 08-2024, Command R and Command R+ in Azure AI and Azure ML\n",
"\n",
"You can use Cohere Command R or Cohere Command R+ models deployed in Azure AI and Azure ML with `langchain` to create more sophisticated intelligent applications.\n",
"\n",
Expand All @@ -22,7 +22,7 @@
"* Register for a valid Azure account with subscription \n",
"* Make sure you have access to [Azure AI Studio](https://learn.microsoft.com/en-us/azure/ai-studio/what-is-ai-studio?tabs=home)\n",
"* Create a project and resource group\n",
"* Select `Cohere Command R` or `Cohere Command R+`.\n",
"* Select `Cohere Command R 08-2024`, `Cohere Command R+ 08-2024`,`Cohere Command R`, `Cohere Command R+`.\n",
"\n",
" > Notice that some models may not be available in all the regions in Azure AI and Azure Machine Learning. On those cases, you can create a workspace or project in the region where the models are available and then consume it with a connection from a different one. To learn more about using connections see [Consume models with connections](https://learn.microsoft.com/en-us/azure/ai-studio/how-to/deployments-connections)\n",
"\n",
Expand Down
4 changes: 2 additions & 2 deletions sdk/python/foundation-models/cohere/litellm.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Use litellm with Cohere Command R or Cohere Command R+ in Azure AI and Azure ML\n",
"# Use litellm with Cohere Command R 08-2024, Cohere Command R+ 08-2024, Command R and Command R+ in Azure AI and Azure ML\n",
"\n",
"Use `litellm` to consume Cohere Command R or Cohere Command R+ deployments in Azure AI and Azure ML.\n",
"\n",
Expand All @@ -22,7 +22,7 @@
"* Register for a valid Azure account with subscription \n",
"* Make sure you have access to [Azure AI Studio](https://learn.microsoft.com/en-us/azure/ai-studio/what-is-ai-studio?tabs=home)\n",
"* Create a project and resource group\n",
"* Select `Cohere Command R` or `Cohere Command R+`.\n",
"* Select `Cohere Command R 08-2024`, `Cohere Command R+ 08-2024`,`Cohere Command R`, `Cohere Command R+`.\n",
"\n",
" > Notice that some models may not be available in all the regions in Azure AI and Azure Machine Learning. On those cases, you can create a workspace or project in the region where the models are available and then consume it with a connection from a different one. To learn more about using connections see [Consume models with connections](https://learn.microsoft.com/en-us/azure/ai-studio/how-to/deployments-connections)\n",
"\n",
Expand Down
4 changes: 2 additions & 2 deletions sdk/python/foundation-models/cohere/openaisdk.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Use OpenAI SDK with Cohere Command R or Cohere Command R+ in Azure AI and Azure ML\n",
"# Use OpenAI SDK with Cohere Command R 08-2024, Cohere Command R+ 08-2024, Command R and Command R+ in Azure AI and Azure ML\n",
"\n",
"Use `openai` SDK to consume Cohere deployments in Azure AI and Azure ML. The Cohere family of models in Azure AI and Azure ML offers an API compatible with the OpenAI Chat Completion API. It allows customers and users to transition seamlessly from OpenAI models to Cohere LLMs. \n",
"\n",
Expand All @@ -26,7 +26,7 @@
"* Register for a valid Azure account with subscription \n",
"* Make sure you have access to [Azure AI Studio](https://learn.microsoft.com/en-us/azure/ai-studio/what-is-ai-studio?tabs=home)\n",
"* Create a project and resource group\n",
"* Select `Cohere Command R` or `Cohere Command R+`.\n",
"* Select `Cohere Command R 08-2024`, `Cohere Command R+ 08-2024`,`Cohere Command R`, `Cohere Command R+`.\n",
"\n",
" > Notice that some models may not be available in all the regions in Azure AI and Azure Machine Learning. On those cases, you can create a workspace or project in the region where the models are available and then consume it with a connection from a different one. To learn more about using connections see [Consume models with connections](https://learn.microsoft.com/en-us/azure/ai-studio/how-to/deployments-connections)\n",
"\n",
Expand Down
6 changes: 3 additions & 3 deletions sdk/python/foundation-models/cohere/webrequests.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"# Use Azure API with Cohere Command R and Cohere Command R+\n",
"# Use Azure API with Cohere Command R 08-2024, Cohere Command R+ 08-2024, Command R and Command R+\n",
"\n",
"This notebook shows examples of how to use Cohere Command R and Cohere Command R+ APIs offered by Microsoft Azure AI and Azure ML. \n",
"This notebook shows examples of how to use Cohere Command R 08-2024, Cohere Command R+ 08-2024, Command R and Command R+ APIs offered by Microsoft Azure AI and Azure ML. \n",
"\n",
"> Review the [documentation](https://learn.microsoft.com/en-us/azure/ai-studio/how-to/deploy-models-cohere) for the Cohere family of models at for AI Studio and for ML Studio for details on how to provision inference endpoints, regional availability, pricing and inference schema reference."
]
Expand All @@ -22,7 +22,7 @@
"* Register for a valid Azure account with subscription \n",
"* Make sure you have access to [Azure AI Studio](https://learn.microsoft.com/en-us/azure/ai-studio/what-is-ai-studio?tabs=home)\n",
"* Create a project and resource group\n",
"* Select `Cohere Command R` and `Cohere Command R+`.\n",
"* Select `Cohere Command R 08-2024`, `Cohere Command R+ 08-2024`,`Cohere Command R`, `Cohere Command R+`.\n",
"\n",
" > Notice that some models may not be available in all the regions in Azure AI and Azure Machine Learning. On those cases, you can create a workspace or project in the region where the models are available and then consume it with a connection from a different one. To learn more about using connections see [Consume models with connections](https://learn.microsoft.com/en-us/azure/ai-studio/how-to/deployments-connections)\n",
"\n",
Expand Down

0 comments on commit 3939a01

Please sign in to comment.