mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-11 22:25:41 +08:00
Implement chat completions in go (#16491)
### Summary POST /api/v1/chat/completions
This commit is contained in:
@@ -45,6 +45,16 @@ server {
|
||||
include proxy.conf;
|
||||
}
|
||||
|
||||
location ~ ^/api/v1/datasets/search {
|
||||
proxy_pass http://127.0.0.1:9384;
|
||||
include proxy.conf;
|
||||
}
|
||||
|
||||
location ~ ^/api/v1/chat/completions {
|
||||
proxy_pass http://127.0.0.1:9384;
|
||||
include proxy.conf;
|
||||
}
|
||||
|
||||
location ~ ^/v1/system/config {
|
||||
proxy_pass http://127.0.0.1:9384;
|
||||
include proxy.conf;
|
||||
|
||||
Reference in New Issue
Block a user