Class ChromaEmbeddingStore.Builder
java.lang.Object
dev.langchain4j.store.embedding.chroma.ChromaEmbeddingStore.Builder
- Enclosing class:
ChromaEmbeddingStore
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
collectionName
(String collectionName) logRequests
(boolean logRequests) logResponses
(boolean logResponses)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
baseUrl
- Parameters:
baseUrl
- The base URL of the Chroma service.- Returns:
- builder
-
collectionName
- Parameters:
collectionName
- The name of the collection in the Chroma service. If not specified, "default" will be used.- Returns:
- builder
-
timeout
- Parameters:
timeout
- The timeout duration for the Chroma client. If not specified, 5 seconds will be used.- Returns:
- builder
-
logRequests
-
logResponses
-
build
-