Skip to content

Commit 0752a21

Browse files
feat: Introduce simple.php example and remove previous example files and configuration.
1 parent 2bef3f7 commit 0752a21

3 files changed

Lines changed: 1 addition & 31 deletions

File tree

examples/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

examples/composer.json

Lines changed: 0 additions & 27 deletions
This file was deleted.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
require './vendor/autoload.php';
5+
require '../vendor/autoload.php';
66

77
use Codewithkyrian\ChromaDB\ChromaDB;
88
use Codewithkyrian\ChromaDB\Embeddings\JinaEmbeddingFunction;
@@ -22,7 +22,6 @@
2222
embeddingFunction: $embeddingFunction
2323
);
2424

25-
2625
$collection->add(
2726
ids: ['1', '2', '3'],
2827
documents: ['He seems very happy', 'He was very sad when we last talked', 'She made him angry']

0 commit comments

Comments
 (0)