Sonar Deep Research
Подключается через OpenAI-совместимый API: укажи этот ID в поле model. Без подписки, оплата только за токены.
Возможности
- Принимает
- текст
- Отвечает
- текст
- Контекст
- 128K
- Рассуждение перед ответом (reasoning)
Описание
Sonar Deep Research - языковая модель от Perplexity. Принимает: текст. Отвечает: текст. Контекст - 128K токенов. Умеет рассуждать перед ответом.
Описание поставщика, на английскомСвернуть описание поставщика
Sonar Deep Research is a research-focused model designed for multi-step retrieval, synthesis, and reasoning across complex topics. It autonomously searches, reads, and evaluates sources, refining its approach as it gathers...
Как подключить
from openai import OpenAI
client = OpenAI(
base_url="https://velisityapi.com/v1",
api_key="<VELISITY_API_KEY>",
)
response = client.chat.completions.create(
model="perplexity/sonar-deep-research",
messages=[{"role": "user", "content": "Привет!"}],
)
print(response.choices[0].message.content)
curl https://velisityapi.com/v1/chat/completions \
-H "Authorization: Bearer <VELISITY_API_KEY>" \
-H "Content-Type: application/json" \
-d '{"model": "perplexity/sonar-deep-research",
"messages": [{"role": "user", "content": "Привет!"}]}'