Skip to content

Commit c47ac49

Browse files
committed
ref
1 parent 868801f commit c47ac49

File tree

6 files changed

+16
-5
lines changed

6 files changed

+16
-5
lines changed

examples/store/neo4j-similarity-search.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
use Symfony\AI\Platform\Bridge\OpenAI\PlatformFactory;
2020
use Symfony\AI\Platform\Message\Message;
2121
use Symfony\AI\Platform\Message\MessageBag;
22-
use Symfony\AI\Store\Bridge\Neo4J\Store;
22+
use Symfony\AI\Store\Bridge\Neo4j\Store;
2323
use Symfony\AI\Store\Document\Metadata;
2424
use Symfony\AI\Store\Document\TextDocument;
2525
use Symfony\AI\Store\Document\Vectorizer;

src/store/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ CHANGELOG
4444
- Pinecone
4545
- Qdrant
4646
- SurrealDB
47+
- Neo4j
4748
* Add Retrieval Augmented Generation (RAG) support:
4849
- Document embedding storage
4950
- Similarity search for relevant documents

src/store/composer.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@
66
"ai",
77
"mongodb",
88
"pinecone",
9-
"chromadb"
9+
"chromadb",
10+
"mariadb",
11+
"postgres",
12+
"meilisearch",
13+
"surrealdb",
14+
"qdrant",
15+
"neo4j"
1016
],
1117
"license": "MIT",
1218
"authors": [

src/store/doc/index.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ You can find more advanced usage in combination with an Agent using the store fo
4444
* `Similarity Search with SurrealDB (RAG)`_
4545
* `Similarity Search with memory storage (RAG)`_
4646
* `Similarity Search with Qdrant (RAG)`_
47+
* `Similarity Search with Neo4j (RAG)`_
4748

4849
Supported Stores
4950
----------------
@@ -58,6 +59,7 @@ Supported Stores
5859
* `SurrealDB`_
5960
* `InMemory`_
6061
* `Qdrant`_
62+
* `Neo4j`_
6163

6264
.. note::
6365

@@ -98,6 +100,7 @@ This leads to a store implementing two methods::
98100
.. _`Similarity Search with SurrealDB (RAG)`: https://github.com/symfony/ai/blob/main/examples/store/surrealdb-similarity-search.php
99101
.. _`Similarity Search with memory storage (RAG)`: https://github.com/symfony/ai/blob/main/examples/store/memory-similarity-search.php
100102
.. _`Similarity Search with Qdrant (RAG)`: https://github.com/symfony/ai/blob/main/examples/store/qdrant-similarity-search.php
103+
.. _`Similarity Search with Neo4j (RAG)`: https://github.com/symfony/ai/blob/main/examples/store/neo4j-similarity-search.php
101104
.. _`Azure AI Search`: https://azure.microsoft.com/products/ai-services/ai-search
102105
.. _`Chroma`: https://www.trychroma.com/
103106
.. _`MariaDB`: https://mariadb.org/projects/mariadb-vector/
@@ -108,4 +111,5 @@ This leads to a store implementing two methods::
108111
.. _`SurrealDB`: https://surrealdb.com/
109112
.. _`InMemory`: https://www.php.net/manual/en/language.types.array.php
110113
.. _`Qdrant`: https://qdrant.tech/
114+
.. _`Neo4j`: https://neo4j.com/
111115
.. _`GitHub`: https://github.com/symfony/ai/issues/16

src/store/src/Bridge/Neo4J/Store.php renamed to src/store/src/Bridge/Neo4j/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\Neo4J;
12+
namespace Symfony\AI\Store\Bridge\Neo4j;
1313

1414
use Symfony\AI\Platform\Vector\NullVector;
1515
use Symfony\AI\Platform\Vector\Vector;

src/store/tests/Bridge/Neo4j/StoreTest.php

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

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

1414
use PHPUnit\Framework\Attributes\CoversClass;
1515
use PHPUnit\Framework\TestCase;
16-
use Symfony\AI\Store\Bridge\Neo4J\Store;
16+
use Symfony\AI\Store\Bridge\Neo4j\Store;
1717
use Symfony\Component\HttpClient\Exception\ClientException;
1818
use Symfony\Component\HttpClient\MockHttpClient;
1919
use Symfony\Component\HttpClient\Response\JsonMockResponse;

0 commit comments

Comments
 (0)