Class QdrantEmbeddingStore.Builder
java.lang.Object
dev.langchain4j.store.embedding.qdrant.QdrantEmbeddingStore.Builder
- Enclosing class:
QdrantEmbeddingStore
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
client
(io.qdrant.client.QdrantClient client) collectionName
(String collectionName) payloadTextKey
(String payloadTextKey) port
(int port) useTls
(boolean useTls)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
host
- Parameters:
host
- The host of the Qdrant instance. Defaults to "localhost".
-
collectionName
- Parameters:
collectionName
- REQUIRED. The name of the collection.
-
port
- Parameters:
port
- The GRPC port of the Qdrant instance. Defaults to 6334.- Returns:
-
useTls
- Parameters:
useTls
- Whether to use TLS(HTTPS). Defaults to false.- Returns:
-
payloadTextKey
- Parameters:
payloadTextKey
- The field name of the text segment in the payload. Defaults to "text_segment".- Returns:
-
apiKey
- Parameters:
apiKey
- The Qdrant API key to authenticate with. Defaults to null.
-
client
- Parameters:
client
- A Qdrant client instance. Defaults to null.
-
build
-