Skip to content

Commit

Permalink
Merge pull request #1193 from zbendhiba/450-qdrant-store-doc
Browse files Browse the repository at this point in the history
Add Qdrant document store documentation
  • Loading branch information
geoand authored Jan 6, 2025
2 parents c1ac62f + 6e0fa71 commit 8419148
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/modules/ROOT/nav.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
** xref:in-process-embedding.adoc[In-Process Embeddings]
** xref:csv.adoc[Loading CSV files]
** xref:neo4j.adoc[Neo4j Store]
** xref:qdrant-store.adoc[Qdrant Store]
* Additional tools
** xref:easy-rag.adoc[Easy RAG]
Expand Down
31 changes: 31 additions & 0 deletions docs/modules/ROOT/pages/qdrant-store.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
= Qdrant Store for Retrieval Augmented Generation (RAG)

include::./includes/attributes.adoc[]

When implementing Retrieval Augmented Generation (RAG), a robust document store is crucial. This guide demonstrates how to leverage a https://qdrant.tech/[Qdrant] database as the document store.

== Leveraging the Qdrant Document Store

To make use of the Qdrant document store, you'll need to include the following dependency:

[source,xml,subs=attributes+]
----
<dependency>
<groupId>io.quarkiverse.langchain4j</groupId>
<artifactId>quarkus-langchain4j-qdrant</artifactId>
</dependency>
----

== Configuration Settings

Customize the behavior of the extension by exploring various configuration options:

include::includes/quarkus-langchain4j-qdrant.adoc[leveloffset=+1,opts=optional]

== Dev Services
To use the Qdrant Dev Services, 3 configuration properties are required:

* `quarkus.langchain4j.qdrant.devservices.service-name` which specifies the name of the collection to create
* `quarkus.langchain4j.qdrant.devservices.collection.vector-params.distance` which specifies the distance function used for comparing vectors
* `quarkus.langchain4j.qdrant.devservices.collection.vector-params.size` which specifies the size of the vectors.

0 comments on commit 8419148

Please sign in to comment.