Skip to content

Commit 3026e24

Browse files
committed
add azure openai
1 parent 1a9b916 commit 3026e24

File tree

3 files changed

+98
-0
lines changed

3 files changed

+98
-0
lines changed
Lines changed: 50 additions & 0 deletions
Loading
Lines changed: 8 additions & 0 deletions
Loading
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
provider: azure_openai
2+
label:
3+
en_US: Azure OpenAI Service Model
4+
icon_small:
5+
en_US: icon_s_en.svg
6+
icon_large:
7+
en_US: icon_l_en.svg
8+
background: "#E3F0FF"
9+
help:
10+
title:
11+
en_US: Get your API key from Azure
12+
zh_Hans: 从 Azure 获取 API Key
13+
url:
14+
en_US: https://azure.microsoft.com/en-us/products/ai-services/openai-service
15+
supported_model_types:
16+
- llm
17+
configurate_methods:
18+
- customizable-model
19+
model_credential_schema:
20+
credential_form_schemas:
21+
- variable: api_key
22+
label:
23+
en_US: API Key
24+
type: secret-input
25+
required: true
26+
placeholder:
27+
zh_Hans: 在此输入您的 API Key
28+
en_US: Enter your API Key
29+
- variable: base_url
30+
type: text-input
31+
required: true
32+
placeholder:
33+
zh_Hans: 在此输入您的 Base URL
34+
en_US: Enter your Base URL
35+
- variable: api_version
36+
label:
37+
en_US: '2024-02-01'
38+
type: text-input
39+
required: true
40+
address: https://docs-test-001.openai.azure.com/

0 commit comments

Comments
 (0)