Skip to content

Commit 43d1bb6

Browse files
committed
add encoding_format and dimensions to supported params for azure openai
1 parent c19cced commit 43d1bb6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/providers/azure-openai/embed.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ export const AzureOpenAIEmbedConfig: ProviderConfig = {
1616
user: {
1717
param: 'user',
1818
},
19+
encoding_format: {
20+
param: 'encoding_format',
21+
required: false,
22+
},
23+
dimensions: {
24+
param: 'dimensions',
25+
},
1926
};
2027

2128
interface AzureOpenAIEmbedResponse extends EmbedResponse {}

0 commit comments

Comments
 (0)