File tree 2 files changed +10
-2
lines changed
openai-core/src/main/scala/io/cequence/openaiscala/domain
openai-examples/src/main/scala/io/cequence/openaiscala/examples/sonar
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -296,10 +296,18 @@ object NonOpenAIModelId {
296
296
val deepseek_ai_deepseek_v3 = " deepseek-ai/DeepSeek-V3" // Together AI
297
297
298
298
// Sonar (Perplexity)
299
+ // 128k context length
300
+ val sonar_deep_research = " sonar-deep-research"
301
+ // 128k context length
302
+ val sonar_reasoning_pro = " sonar-reasoning-pro"
303
+ // 128k context length
304
+ val sonar_reasoning = " sonar-reasoning"
299
305
// 200k context length
300
306
val sonar_pro = " sonar-pro"
301
- // 127k context length
307
+ // 128k context length
302
308
val sonar = " sonar"
309
+ // 128k context length
310
+ val r1_1776 = " r1-1776"
303
311
// These models will be deprecated and will no longer be available to use after 2/22/2025
304
312
// 127k context window
305
313
val llama_3_1_sonar_small_128k_online = " llama-3.1-sonar-small-128k-online"
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ object SonarCreateChatCompletion extends ExampleBase[SonarService] {
20
20
UserMessage (" What is the weather like in Norway?" )
21
21
)
22
22
23
- private val modelId = NonOpenAIModelId .sonar
23
+ private val modelId = NonOpenAIModelId .sonar_deep_research
24
24
25
25
override protected def run : Future [_] =
26
26
service
You can’t perform that action at this time.
0 commit comments