AzureOpenAIEmbedding modify user input

This commit is contained in:
chungyau97 2023-06-16 16:57:54 +07:00
parent 6504e826f5
commit c2b35f6c95
1 changed files with 4 additions and 12 deletions

View File

@ -42,18 +42,10 @@ class AzureOpenAIEmbedding_Embeddings implements INode {
{
label: 'Azure OpenAI Api Version',
name: 'azureOpenAIApiVersion',
type: 'options',
options: [
{
label: '2023-03-15-preview',
name: '2023-03-15-preview'
},
{
label: '2022-12-01',
name: '2022-12-01'
}
],
default: '2023-03-15-preview'
type: 'string',
placeholder: 'YOUR-API-VERSION',
description:
'Description of Supported API Versions. Please refer <a target="_blank" href="https://learn.microsoft.com/en-us/azure/cognitive-services/openai/reference#embeddings">examples</a>'
},
{
label: 'Batch Size',