mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 15:31:05 +08:00
Go: implement provider: OrcaRouter (#15235)
### What problem does this PR solve? implement provider `OrcaRouter` **The following functionalities are now supported:** **Cohere:** - [x] Chat / Think Chat / Stream Chat / Stream Think Chat - [x] Model listing - [x] TTS - [ ] Balance ### Type of change - [x] New Feature (non-breaking change which adds functionality) --------- Co-authored-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
27
conf/models/orcarouter.json
Normal file
27
conf/models/orcarouter.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"name": "OrcaRouter",
|
||||
"url": {
|
||||
"default": "https://api.orcarouter.ai"
|
||||
},
|
||||
"url_suffix": {
|
||||
"chat": "v1/chat/completions",
|
||||
"models": "v1/models",
|
||||
"tts": "v1/audio/speech"
|
||||
},
|
||||
"class": "orcarouter",
|
||||
"models": [
|
||||
{
|
||||
"name": "orcarouter/auto",
|
||||
"max_tokens": 128000,
|
||||
"model_types": [
|
||||
"chat"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "openai/tts-1",
|
||||
"model_types": [
|
||||
"tts"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user