![]() ![]() ::SetEnvironmentVariable('SearchKey', 'REPLACE_WITH_YOUR_AZURE_SEARCH_RESOURCE_KEY_VALUE_HERE', 'User') ::SetEnvironmentVariable('SearchEndpoint', 'REPLACE_WITH_YOUR_AZURE_SEARCH_RESOURCE_VALUE_HERE', 'User') ::SetEnvironmentVariable('ChatGptKey', 'REPLACE_WITH_YOUR_AOAI_KEY_VALUE_HERE', 'User') ::SetEnvironmentVariable('ChatGptUrl', 'REPLACE_WITH_YOUR_AOAI_COMPLETION_VALUE_HERE', 'User') ::SetEnvironmentVariable('AOAIDeploymentId', 'REPLACE_WITH_YOUR_AOAI_DEPLOYMENT_VALUE_HERE', 'User') ::SetEnvironmentVariable('AOAIKey', 'REPLACE_WITH_YOUR_AOAI_KEY_VALUE_HERE', 'User') ::SetEnvironmentVariable('AOAIEndpoint', 'REPLACE_WITH_YOUR_AOAI_ENDPOINT_VALUE_HERE', 'User') Setx SearchIndex REPLACE_WITH_YOUR_INDEX_NAME_HERE Setx SearchKey REPLACE_WITH_YOUR_AZURE_SEARCH_RESOURCE_KEY_VALUE_HERE Setx SearchEndpoint REPLACE_WITH_YOUR_AZURE_SEARCH_RESOURCE_VALUE_HERE Setx ChatGptKey REPLACE_WITH_YOUR_AOAI_KEY_VALUE_HERE Setx ChatGptUrl REPLACE_WITH_YOUR_AOAI_COMPLETION_VALUE_HERE Setx AOAIDeploymentId REPLACE_WITH_YOUR_AOAI_DEPLOYMENT_VALUE_HERE Setx AOAIKey REPLACE_WITH_YOUR_AOAI_KEY_VALUE_HERE Setx AOAIEndpoint REPLACE_WITH_YOUR_AOAI_ENDPOINT_VALUE_HERE You can find it in the Overview section when examining your Azure Cognitive Search resource from the Azure portal. This value corresponds to the name of the index you created to store your data. Always having two keys allows you to securely rotate and regenerate keys without causing a service disruption. This value can be found in the Keys & Endpoint section when examining your Azure Cognitive Search resource from the Azure portal. ![]() If you are using the same Azure OpenAI resource for both ChatGptUrl and AOAIEndpoint, use the same value as AOAIKey. This can be the same endpoint as AoAIEndpoint. The Azure OpenAI ChatGPT endpoint that will be used to fulfill the request. This value can be found under Resource Management > Deployments in the Azure portal or alternatively under Management > Deployments in Azure AI studio. This value corresponds to the custom name you chose for your deployment when you deployed a model. This value can be found in the Keys & Endpoint section when examining your Azure OpenAI resource from the Azure portal. Alternatively, you can find the value in Azure AI studio > Chat playground > Code view. See Add your data using Azure AI studio Variable name This quickstart assumes you've uploaded your data to an Azure blob storage account and have an Azure Cognitive Search index created. To successfully make a call against Azure OpenAI, you need the following variables. If you choose to deploy a web app, see the important considerations for using it. Update an existing app, select Publish to an existing web app and choose the name of your previous For example, Select your subscription, resource group, location, and pricing plan for the published app. Choose a name for the app, which willīecome part of the app URL. The first time you deploy a web app, you should select Create a new web app. This gives you the option to either deploy the model as a standalone web application, or to Power Virtual Agents.Īs an example, if you choose to deploy a web app: Studio by selecting the Deploy to button. Once you're satisfied with the experience in Azure OpenAI studio, you can deploy a web app directly from the
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |