add uvicorn as py server for faster com
This commit is contained in:
@@ -57,6 +57,8 @@ parameters:
|
||||
mto.vector.search_script: '%mto.root%/src/Vector/vector_search.py'
|
||||
mto.vector.timeout: 600
|
||||
|
||||
mto.vector.service_url: 'http://127.0.0.1:8090'
|
||||
|
||||
|
||||
# ------------------------------------------------------------
|
||||
# Services
|
||||
@@ -153,11 +155,7 @@ services:
|
||||
|
||||
App\Vector\VectorSearchClient:
|
||||
arguments:
|
||||
$pythonBin: '%mto.vector.python_bin%'
|
||||
$scriptPath: '%mto.vector.search_script%'
|
||||
$vectorIndexPath: '%mto.knowledge.vector_index%'
|
||||
$vectorMetaPath: '%mto.knowledge.vector_index_meta%'
|
||||
$indexMetaPath: '%mto.knowledge.index_meta%'
|
||||
$serviceUrl: '%mto.vector.service_url%'
|
||||
$agentLogger: '@monolog.logger.agent'
|
||||
|
||||
App\Vector\VectorIndexBuilder:
|
||||
@@ -194,11 +192,7 @@ services:
|
||||
|
||||
App\Tag\TagVectorSearchClient:
|
||||
arguments:
|
||||
$pythonBin: '%mto.vector.python_bin%'
|
||||
$scriptPath: '%mto.vector.search_tags_script%'
|
||||
$vectorTagsIndexPath: '%mto.knowledge.vector_tags_index%'
|
||||
$vectorTagsMetaPath: '%mto.knowledge.vector_tags_index_meta%'
|
||||
$embeddingModel: '%mto.index.embedding_model%'
|
||||
$serviceUrl: '%mto.vector.service_url%'
|
||||
$agentLogger: '@monolog.logger.agent'
|
||||
|
||||
App\Tag\TagRoutingService: ~
|
||||
|
||||
Reference in New Issue
Block a user