central config part 1
This commit is contained in:
@@ -9,6 +9,7 @@ imports:
|
||||
- { resource: 'retriex/retrieval.yaml' }
|
||||
- { resource: 'retriex/language.yaml' }
|
||||
- { resource: 'retriex/query_enrichment.yaml' }
|
||||
- { resource: 'retriex/vocabulary.yaml' }
|
||||
|
||||
# ------------------------------------------------------------
|
||||
# Parameters
|
||||
@@ -112,9 +113,14 @@ services:
|
||||
$retrievalMaxChunks: '%retriex.model.default_retrieval_max_chunks%'
|
||||
$retrievalVectorTopK: '%retriex.model.default_retrieval_vector_top_k%'
|
||||
|
||||
App\Config\DomainVocabularyConfig:
|
||||
arguments:
|
||||
$config: '%retriex.vocabulary.config%'
|
||||
|
||||
App\Config\PromptBuilderConfig:
|
||||
arguments:
|
||||
$config: '%retriex.prompt.config%'
|
||||
$vocabulary: '@App\Config\DomainVocabularyConfig'
|
||||
|
||||
App\Config\AgentRunnerConfig:
|
||||
arguments:
|
||||
@@ -123,7 +129,7 @@ services:
|
||||
App\Config\NdjsonHybridRetrieverConfig:
|
||||
arguments:
|
||||
$config: '%retriex.retrieval.config%'
|
||||
$vocabulary: '%retriex.retrieval.config%'
|
||||
$vocabulary: '@App\Config\DomainVocabularyConfig'
|
||||
|
||||
App\Config\StopWordsConfig:
|
||||
arguments:
|
||||
@@ -136,6 +142,7 @@ services:
|
||||
App\Config\ShopServiceConfig:
|
||||
arguments:
|
||||
$config: '%retriex.shop_matching.config%'
|
||||
$vocabulary: '@App\Config\DomainVocabularyConfig'
|
||||
|
||||
App\Infrastructure\OllamaClient:
|
||||
arguments:
|
||||
@@ -176,6 +183,11 @@ services:
|
||||
|
||||
App\Intent\CommerceIntentLite: ~
|
||||
|
||||
App\Config\CommerceQueryParserConfig:
|
||||
arguments:
|
||||
$config: '%retriex.commerce_query.config%'
|
||||
$vocabulary: '@App\Config\DomainVocabularyConfig'
|
||||
|
||||
App\Commerce\CommerceQueryParser: ~
|
||||
|
||||
App\Config\SearchRepairConfig:
|
||||
|
||||
Reference in New Issue
Block a user