Skip to content

Commit a458c95

Browse files
committed
Rename ChromaDB to ChromaDb
1 parent 5f1f612 commit a458c95

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/ai-bundle/config/options.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
namespace Symfony\Component\Config\Definition\Configurator;
1313

14-
use Codewithkyrian\ChromaDB\Client as ChromaDBClient;
14+
use Codewithkyrian\ChromaDB\Client as ChromaDbClient;
1515
use MongoDB\Client as MongoDBClient;
1616
use Probots\Pinecone\Client as PineconeClient;
1717
use Symfony\AI\Platform\PlatformInterface;
@@ -161,7 +161,7 @@
161161
->useAttributeAsKey('name')
162162
->arrayPrototype()
163163
->children()
164-
->scalarNode('client')->cannotBeEmpty()->defaultValue(ChromaDBClient::class)->end()
164+
->scalarNode('client')->cannotBeEmpty()->defaultValue(ChromaDbClient::class)->end()
165165
->scalarNode('collection')->isRequired()->end()
166166
->end()
167167
->end()

src/ai-bundle/src/AiBundle.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
use Symfony\AI\Platform\PlatformInterface;
3939
use Symfony\AI\Platform\ResultConverterInterface;
4040
use Symfony\AI\Store\Bridge\Azure\SearchStore as AzureSearchStore;
41-
use Symfony\AI\Store\Bridge\ChromaDB\Store as ChromaDBStore;
41+
use Symfony\AI\Store\Bridge\ChromaDb\Store as ChromaDbStore;
4242
use Symfony\AI\Store\Bridge\MongoDB\Store as MongoDBStore;
4343
use Symfony\AI\Store\Bridge\Pinecone\Store as PineconeStore;
4444
use Symfony\AI\Store\Document\Vectorizer;
@@ -440,7 +440,7 @@ private function processStoreConfig(string $type, array $stores, ContainerBuilde
440440

441441
if ('chroma_db' === $type) {
442442
foreach ($stores as $name => $store) {
443-
$definition = new Definition(ChromaDBStore::class);
443+
$definition = new Definition(ChromaDbStore::class);
444444
$definition
445445
->setArguments([
446446
new Reference($store['client']),

src/store/src/Bridge/ChromaDB/Store.php renamed to src/store/src/Bridge/ChromaDb/Store.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\AI\Store\Bridge\ChromaDB;
12+
namespace Symfony\AI\Store\Bridge\ChromaDb;
1313

1414
use Codewithkyrian\ChromaDB\Client;
1515
use Symfony\AI\Platform\Vector\Vector;

src/store/tests/Bridge/ChromaDB/StoreTest.php renamed to src/store/tests/Bridge/ChromaDb/StoreTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
* file that was distributed with this source code.
1010
*/
1111

12-
namespace Symfony\AI\Store\Tests\Bridge\ChromaDB;
12+
namespace Symfony\AI\Store\Tests\Bridge\ChromaDb;
1313

1414
use Codewithkyrian\ChromaDB\Client;
1515
use Codewithkyrian\ChromaDB\Resources\CollectionResource;
1616
use PHPUnit\Framework\Attributes\CoversClass;
1717
use PHPUnit\Framework\TestCase;
1818
use Symfony\AI\Platform\Vector\Vector;
19-
use Symfony\AI\Store\Bridge\ChromaDB\Store;
19+
use Symfony\AI\Store\Bridge\ChromaDb\Store;
2020
use Symfony\AI\Store\Document\Metadata;
2121
use Symfony\AI\Store\Document\VectorDocument;
2222
use Symfony\Component\Uid\Uuid;

0 commit comments

Comments
 (0)