Logo
Explore Help
Register Sign In
zlei6/ragflow
1
0
Fork 0
You've already forked ragflow
mirror of https://github.com/infiniflow/ragflow.git synced 2026-08-04 06:40:29 +08:00
Code Issues Packages Projects Releases Wiki Activity
Files
6499bce2a67c55191efb7dc4cfe3ff359b64c5ef
ragflow/conf/models/togetherai.json

35 lines
617 B
JSON
Raw Normal View History

Add TogetherAI chat provider (#14957) ## What - Add TogetherAI as a chat provider backed by its OpenAI-compatible `/v1/chat/completions` API - Register TogetherAI in the Go model factory and provider config - Support non-streaming chat, SSE streaming chat, model listing, and connection checks ## Notes - Uses the current TogetherAI OpenAI-compatible base URL `https://api.together.ai/v1` - Forwards documented chat parameters from `ChatConfig`: `max_tokens`, `temperature`, `top_p`, `stop`, and GPT-OSS `reasoning_effort` - Routes Together reasoning traces from `reasoning` / `reasoning_content` into `ReasonContent` ## Tests - `go test -vet=off -run TestTogetherAI -count=1 ./internal/entity/models` - `go test -vet=off -count=1 ./internal/entity/models` Refs #14736
2026-05-18 21:10:42 -10:00
{
"name": "TogetherAI",
"url": {
"default": "https://api.together.ai/v1"
},
"url_suffix": {
"chat": "chat/completions",
"models": "models"
},
"class": "together",
"models": [
{
"name": "openai/gpt-oss-20b",
"max_tokens": 131072,
"model_types": [
"chat"
]
},
{
"name": "meta-llama/Llama-3.3-70B-Instruct-Turbo",
"max_tokens": 131072,
"model_types": [
"chat"
]
},
{
"name": "Qwen/Qwen3-Coder-480B-A35B-Instruct-FP8",
"max_tokens": 262144,
"model_types": [
"chat"
]
}
]
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.5 Page: 648ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API