mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 15:31:05 +08:00
Go: implement TTS and ASR for X.AI (#15247)
### What problem does this PR solve? As title ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue) - [x] New Feature (non-breaking change which adds functionality) - [x] Refactoring
This commit is contained in:
@@ -5,39 +5,60 @@
|
||||
},
|
||||
"url_suffix": {
|
||||
"chat": "chat/completions",
|
||||
"models": "models"
|
||||
"models": "models",
|
||||
"tts": "tts",
|
||||
"ast": "stt"
|
||||
},
|
||||
"class": "grok",
|
||||
"models": [
|
||||
{
|
||||
"name": "grok-4",
|
||||
"max_tokens": 256000,
|
||||
"model_types": ["chat"]
|
||||
"model_types": [
|
||||
"chat"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "grok-3",
|
||||
"max_tokens": 131072,
|
||||
"model_types": ["chat"]
|
||||
"model_types": [
|
||||
"chat"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "grok-3-fast",
|
||||
"max_tokens": 131072,
|
||||
"model_types": ["chat"]
|
||||
"model_types": [
|
||||
"chat"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "grok-3-mini",
|
||||
"max_tokens": 131072,
|
||||
"model_types": ["chat"]
|
||||
"model_types": [
|
||||
"chat"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "grok-3-mini-mini-fast",
|
||||
"max_tokens": 131072,
|
||||
"model_types": ["chat"]
|
||||
"model_types": [
|
||||
"chat"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "grok-2-vision",
|
||||
"max_tokens": 32768,
|
||||
"model_types": ["vision"]
|
||||
"model_types": [
|
||||
"vision"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "eve",
|
||||
"model_types": [
|
||||
"tts"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user