feat(ml): fuse two embedding models and protect the ML service with a token
This commit is contained in:
1 parent
bc00d6901f
commit
b24e5ff906
63 files changed
+2287
-276
No files matched your search
@@ -247,6 +247,9 @@ services:
|
||||
# the separate ML project, which joins this network as "ml".
|
||||
SEMANTIC_MATCHING_ENABLED: ${SEMANTIC_MATCHING_ENABLED:-false}
|
||||
ML_SERVICE_URL: ${ML_SERVICE_URL:-http://ml:8000}
|
||||
# Shared bearer token of the ML service (a secret, at least 32
|
||||
# characters); required while SEMANTIC_MATCHING_ENABLED is true.
|
||||
ML_SERVICE_TOKEN: ${ML_SERVICE_TOKEN:-}
|
||||
ML_REQUEST_TIMEOUT: ${ML_REQUEST_TIMEOUT:-30s}
|
||||
ML_CIRCUIT_FAILURES: ${ML_CIRCUIT_FAILURES:-3}
|
||||
ML_CIRCUIT_OPEN: ${ML_CIRCUIT_OPEN:-30s}
|
||||
|
||||
Reference in new issue
Block a user