Improve readability of the PgVector Store code

Related to #461
This commit is contained in:
Christian Tzolov
2024-03-03 08:54:04 +01:00
parent 811d048965
commit cbb59ce616
2 changed files with 12 additions and 7 deletions

View File

@@ -120,7 +120,7 @@ vectorStore.add(List.of(document));
List<Document> results = vectorStore.similaritySearch(SearchRequest.query("Spring").withTopK(5));
----
== Manual Configuration
=== Manual Configuration
Instead of using the Spring Boot auto-configuration, you can manually configure the `PgVectorStore`.
For this you need to add the PostgreSQL connection and `JdbcTemplate` auto-configuration dependencies to your project: