Skip to content

Commit 1a1e59f

Browse files
Drop DB suffix from package environment variables
1 parent b2bb5dc commit 1a1e59f

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ return [
3939
| Here you may specify your ChromaDB Host. This is the host where your ChromaDB
4040
| instance is running. This is used to connect to your ChromaDB instance.
4141
*/
42-
'host' => env('CHROMADB_HOST', 'localhost'),
42+
'host' => env('CHROMA_HOST', 'localhost'),
4343

4444
/*
4545
|--------------------------------------------------------------------------
@@ -49,7 +49,7 @@ return [
4949
| Here you may specify your ChromaDB Port. This is the port where your ChromaDB
5050
| instance is running. This is used to connect to your ChromaDB instance.
5151
*/
52-
'port' => env('CHROMADB_PORT', 8000),
52+
'port' => env('CHROMA_PORT', 8000),
5353

5454
/*
5555
|--------------------------------------------------------------------------
@@ -58,7 +58,7 @@ return [
5858
|
5959
| This is the tenant that you want to connect to.
6060
*/
61-
'tenant' => env('CHROMADB_TENANT', 'default_tenant'),
61+
'tenant' => env('CHROMA_TENANT', 'default_tenant'),
6262

6363
/*
6464
|--------------------------------------------------------------------------
@@ -67,7 +67,7 @@ return [
6767
|
6868
| This is the database that you want to connect to.
6969
*/
70-
'database' => env('CHROMADB_DATABASE', 'default_database'),
70+
'database' => env('CHROMA_DATABASE', 'default_database'),
7171
];
7272
```
7373

@@ -89,7 +89,7 @@ ChromaDB can be found in the [ChromaDB website](https://docs.trychroma.com/deplo
8989
```php
9090
use Codewithkyrian\ChromaDB\Facades\ChromaDB;
9191

92-
ChromaDB::version(); // Eg. 1.0.0
92+
ChromaDB::version(); // Eg. 0.4.2
9393

9494
$collection = ChromaDB::createCollection('collection_name');
9595

config/chromadb.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
| Here you may specify your ChromaDB Host. This is the host where your ChromaDB
1212
| instance is running. This is used to connect to your ChromaDB instance.
1313
*/
14-
'host' => env('CHROMADB_HOST', 'localhost'),
14+
'host' => env('CHROMA_HOST', 'localhost'),
1515

1616
/*
1717
|--------------------------------------------------------------------------
@@ -21,7 +21,7 @@
2121
| Here you may specify your ChromaDB Port. This is the port where your ChromaDB
2222
| instance is running. This is used to connect to your ChromaDB instance.
2323
*/
24-
'port' => env('CHROMADB_PORT', 8000),
24+
'port' => env('CHROMA_PORT', 8000),
2525

2626
/*
2727
|--------------------------------------------------------------------------
@@ -30,7 +30,7 @@
3030
|
3131
| This is the tenant that you want to connect to.
3232
*/
33-
'tenant' => env('CHROMADB_TENANT', 'default_tenant'),
33+
'tenant' => env('CHROMA_TENANT', 'default_tenant'),
3434

3535
/*
3636
|--------------------------------------------------------------------------
@@ -39,6 +39,6 @@
3939
|
4040
| This is the database that you want to connect to.
4141
*/
42-
'database' => env('CHROMADB_DATABASE', 'default_database'),
42+
'database' => env('CHROMA_DATABASE', 'default_database'),
4343
];
4444

0 commit comments

Comments
 (0)