public class Client extends Object
| Modifier and Type | Method and Description |
|---|---|
Collection |
createCollection(String collectionName,
Map<String,String> metadata,
Boolean createOrGet,
EmbeddingFunction embeddingFunction) |
Collection |
deleteCollection(String collectionName) |
Collection |
getCollection(String collectionName,
EmbeddingFunction embeddingFunction) |
Map<String,BigDecimal> |
heartbeat() |
List<Collection> |
listCollections() |
Boolean |
reset() |
Collection |
upsert(String collectionName,
EmbeddingFunction ef) |
String |
version() |
public Client(String basePath)
public Collection getCollection(String collectionName, EmbeddingFunction embeddingFunction) throws ApiException
ApiExceptionpublic Map<String,BigDecimal> heartbeat() throws ApiException
ApiExceptionpublic Collection createCollection(String collectionName, Map<String,String> metadata, Boolean createOrGet, EmbeddingFunction embeddingFunction) throws ApiException
ApiExceptionpublic Collection deleteCollection(String collectionName) throws ApiException
ApiExceptionpublic Collection upsert(String collectionName, EmbeddingFunction ef) throws ApiException
ApiExceptionpublic Boolean reset() throws ApiException
ApiExceptionpublic List<Collection> listCollections() throws ApiException
ApiExceptionpublic String version() throws ApiException
ApiExceptionCopyright © 2023 Amikos Tech OOD. All rights reserved.