File tree Expand file tree Collapse file tree 4 files changed +20
-3
lines changed
Expand file tree Collapse file tree 4 files changed +20
-3
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @sap-ai-sdk/orchestration ' : minor
3+ ' @sap-ai-sdk/core ' : minor
4+ ---
5+
6+ [ Improvement] Add ` cohere--command-a-reasoning ` , ` mistralai--mistral-medium-instruct ` and perplexity-us ` sonar ` and ` sonar-pro ` to model list
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ export type {
77 AzureOpenAiEmbeddingModel ,
88 GcpVertexAiChatModel ,
99 AwsBedrockChatModel ,
10- AiCoreOpenSourceChatModel
10+ AiCoreOpenSourceChatModel ,
11+ PerplexityChatModel
1112} from './model-types.js' ;
1213export { SseStream , LineDecoder , SSEDecoder } from './stream/index.js' ;
Original file line number Diff line number Diff line change @@ -52,9 +52,17 @@ export type AwsBedrockChatModel = LiteralUnion<
5252 | 'amazon--nova-premier'
5353> ;
5454
55+ /**
56+ * Perplexity models for chat completion.
57+ */
58+ export type PerplexityChatModel = LiteralUnion < 'sonar' | 'sonar-pro' > ;
59+
5560/**
5661 * AI Core open source models for chat completion.
5762 */
5863export type AiCoreOpenSourceChatModel = LiteralUnion <
59- 'mistralai--mistral-large-instruct' | 'mistralai--mistral-small-instruct'
64+ | 'cohere--command-a-reasoning'
65+ | 'mistralai--mistral-large-instruct'
66+ | 'mistralai--mistral-medium-instruct'
67+ | 'mistralai--mistral-small-instruct'
6068> ;
Original file line number Diff line number Diff line change @@ -2,7 +2,8 @@ import type {
22 AiCoreOpenSourceChatModel ,
33 AwsBedrockChatModel ,
44 AzureOpenAiChatModel ,
5- GcpVertexAiChatModel
5+ GcpVertexAiChatModel ,
6+ PerplexityChatModel
67} from '@sap-ai-sdk/core' ;
78
89/**
@@ -12,4 +13,5 @@ export type ChatModel =
1213 | AzureOpenAiChatModel
1314 | GcpVertexAiChatModel
1415 | AwsBedrockChatModel
16+ | PerplexityChatModel
1517 | AiCoreOpenSourceChatModel ;
You can’t perform that action at this time.
0 commit comments