PowerPlatformConnectors/custom-connectors/AzureOpenAIService/apiProperties.json

50 строки
1.6 KiB
JSON
Исходник Обычный вид История

{
"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",
"scriptOperations": [
"ChatCompletion",
"CreateCompletion"
],
"capabilities": [ ],
"policyTemplateInstances": [
{
"templateId": "dynamichosturl",
"title": "Route to Azure OpenAI Service",
"parameters": {
"x-ms-apimTemplateParameter.urlTemplate": "https://@connectionParameters('azureOpenAIServiceName').openai.azure.com",
"x-ms-apimTemplate-operationName": [
]
}
}
],
"publisher": "Daniel Laskewitz, Andrew Coates & Robin Rosengrün",
"stackOwner": "Microsoft Corporation"
}
}