File tree Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Expand file tree Collapse file tree 3 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 3333 endpointUrl: env ('MEILISEARCH_HOST ' ),
3434 apiKey: env ('MEILISEARCH_API_KEY ' ),
3535 indexName: 'movies ' ,
36- // Optional: configure hybrid search ratio (0.0 = keyword, 1.0 = semantic)
37- // semanticRatio: 0.5, // 50/50 hybrid search
3836);
3937
4038// create embeddings and documents
Original file line number Diff line number Diff line change @@ -21,7 +21,6 @@ CHANGELOG
2121 - Platform credentials (API keys, endpoints)
2222 - Model configurations per agent
2323 - Vector store configurations
24- - Meilisearch ` semantic_ratio ` option for configuring hybrid search balance
2524 * Add dependency injection integration:
2625 - Autoconfiguration for tools and processors
2726 - Service aliases for default agent and platform
Original file line number Diff line number Diff line change 541541 ->floatNode ('semantic_ratio ' )
542542 ->info ('The ratio between semantic (vector) and full-text search (0.0 to 1.0). Default: 1.0 (100% semantic) ' )
543543 ->defaultValue (1.0 )
544- ->validate ()
545- ->ifTrue (static fn ($ v ) => $ v < 0.0 || $ v > 1.0 )
546- ->thenInvalid ('The semantic ratio must be between 0.0 and 1.0. ' )
547- ->end ()
544+ ->min (0.0 )
545+ ->max (1.0 )
548546 ->end ()
549547 ->end ()
550548 ->end ()
You can’t perform that action at this time.
0 commit comments