2023-03-17 07:08:16 +03:00
|
|
|
{
|
|
|
|
"properties": {
|
|
|
|
"connectionParameters": {
|
|
|
|
"azureOpenAIServiceName": {
|
|
|
|
"type": "string",
|
|
|
|
"uiDefinition": {
|
|
|
|
"constraints": {
|
|
|
|
"required": "true"
|
|
|
|
},
|
|
|
|
"description": "Specify the name of your instance (for instance: microsoft when the endpoint is https://microsoft.openai.azure.com/)",
|
|
|
|
"displayName": "Instance name",
|
|
|
|
"tooltip": "Specify the name of your instance (for instance: microsoft when the endpoint is https://microsoft.openai.azure.com/)"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"api_key": {
|
|
|
|
"type": "securestring",
|
|
|
|
"uiDefinition": {
|
|
|
|
"displayName": "API Key",
|
|
|
|
"description": "The API Key for this api",
|
|
|
|
"tooltip": "Provide your API Key",
|
|
|
|
"constraints": {
|
|
|
|
"tabIndex": 2,
|
|
|
|
"clearText": false,
|
|
|
|
"required": "true"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"iconBrandColor": "#ffffff",
|
2023-04-13 21:30:38 +03:00
|
|
|
"scriptOperations": [
|
|
|
|
"ChatCompletion",
|
|
|
|
"CreateCompletion"
|
|
|
|
],
|
2024-01-03 16:06:23 +03:00
|
|
|
"capabilities": [ ],
|
2023-03-17 07:08:16 +03:00
|
|
|
"policyTemplateInstances": [
|
|
|
|
{
|
|
|
|
"templateId": "dynamichosturl",
|
|
|
|
"title": "Route to Azure OpenAI Service",
|
|
|
|
"parameters": {
|
|
|
|
"x-ms-apimTemplateParameter.urlTemplate": "https://@connectionParameters('azureOpenAIServiceName').openai.azure.com",
|
|
|
|
"x-ms-apimTemplate-operationName": [
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2023-04-14 20:04:58 +03:00
|
|
|
"publisher": "Daniel Laskewitz, Andrew Coates & Robin Rosengrün",
|
2023-03-17 07:08:16 +03:00
|
|
|
"stackOwner": "Microsoft Corporation"
|
|
|
|
}
|
|
|
|
}
|