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 @@ -2976,6 +2976,24 @@ private function getFullConfig(): array
29762976 'distance ' => 'Cosine ' ,
29772977 'async ' => false ,
29782978 ],
2979+ 'my_custom_dimensions_qdrant_store ' => [
2980+ 'endpoint ' => 'http://127.0.0.1:8000 ' ,
2981+ 'api_key ' => 'test ' ,
2982+ 'collection_name ' => 'foo ' ,
2983+ 'dimensions ' => 768 ,
2984+ ],
2985+ 'my_custom_distance_qdrant_store ' => [
2986+ 'endpoint ' => 'http://127.0.0.1:8000 ' ,
2987+ 'api_key ' => 'test ' ,
2988+ 'collection_name ' => 'foo ' ,
2989+ 'distance ' => 'Cosine ' ,
2990+ ],
2991+ 'my_async_qdrant_store ' => [
2992+ 'endpoint ' => 'http://127.0.0.1:8000 ' ,
2993+ 'api_key ' => 'test ' ,
2994+ 'collection_name ' => 'foo ' ,
2995+ 'async ' => false ,
2996+ ],
29792997 ],
29802998 'redis ' => [
29812999 '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