This version is still in development and is not considered stable yet. For the latest snapshot version, please use Spring AI 1.0.0-SNAPSHOT! |
It is recommended that the Qdrant collection is created in advance with the appropriate dimensions and configurations.
If the collection is not created, the QdrantVectorStore will attempt to create one using the Cosine similarity and the dimension of the configured EmbeddingModel .
|
this is a breaking change! In earlier versions of Spring AI, this schema initialization happened by default. |
Refer to the Dependency Management section to add the Spring AI BOM to your build file. Refer to the Repositories section to add Milestone and/or Snapshot Repositories to your build file. |
Check the list of configuration parameters to learn about the default values and configuration options. |
Property | Description | Default value |
---|---|---|
|
The host of the Qdrant server. |
localhost |
|
The gRPC port of the Qdrant server. |
6334 |
|
The API key to use for authentication with the Qdrant server. |
- |
|
The name of the collection to use in Qdrant. |
- |
|
Whether to use TLS(HTTPS). |
false |
|
Whether to initialize the backend schema or not |
false |
These filter expressions are converted into the equivalent Qdrant filters. |