mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-09-07 17:58:55 +08:00
Go: implement provider: Ollama (#14580)
### What problem does this PR solve? implement `Ollama` provider ### Type of change - [x] New Feature (non-breaking change which adds functionality) - [x] Refactoring --------- Co-authored-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
8
conf/models/ollama.json
Normal file
8
conf/models/ollama.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "ollama",
|
||||
"url_suffix": {
|
||||
"chat": "chat/completions",
|
||||
"models": "models"
|
||||
},
|
||||
"class": "local"
|
||||
}
|
||||
Reference in New Issue
Block a user