File tree Expand file tree Collapse file tree 2 files changed +21
-3
lines changed
ai-bundle/tests/DependencyInjection Expand file tree Collapse file tree 2 files changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -2987,6 +2987,24 @@ private function getFullConfig(): array
29872987 'distance ' => 'Cosine ' ,
29882988 'async ' => false ,
29892989 ],
2990+ 'my_custom_dimensions_qdrant_store ' => [
2991+ 'endpoint ' => 'http://127.0.0.1:8000 ' ,
2992+ 'api_key ' => 'test ' ,
2993+ 'collection_name ' => 'foo ' ,
2994+ 'dimensions ' => 768 ,
2995+ ],
2996+ 'my_custom_distance_qdrant_store ' => [
2997+ 'endpoint ' => 'http://127.0.0.1:8000 ' ,
2998+ 'api_key ' => 'test ' ,
2999+ 'collection_name ' => 'foo ' ,
3000+ 'distance ' => 'Cosine ' ,
3001+ ],
3002+ 'my_async_qdrant_store ' => [
3003+ 'endpoint ' => 'http://127.0.0.1:8000 ' ,
3004+ 'api_key ' => 'test ' ,
3005+ 'collection_name ' => 'foo ' ,
3006+ 'async ' => false ,
3007+ ],
29903008 ],
29913009 'redis ' => [
29923010 'my_redis_store ' => [
Original file line number Diff line number Diff line change @@ -31,9 +31,9 @@ public function __construct(
3131 private readonly string $ endpointUrl ,
3232 #[\SensitiveParameter] private readonly string $ apiKey ,
3333 private readonly string $ collectionName ,
34- private readonly int $ embeddingsDimension = 1536 ,
35- private readonly string $ embeddingsDistance = 'Cosine ' ,
36- private readonly bool $ async = false ,
34+ private readonly ? int $ embeddingsDimension = 1536 ,
35+ private readonly ? string $ embeddingsDistance = 'Cosine ' ,
36+ private readonly ? bool $ async = false ,
3737 ) {
3838 }
3939
You can’t perform that action at this time.
0 commit comments