public class VectoRexRepository extends Object implements RepositoryStorable, RepositoryLifecycle
| Modifier and Type | Class and Description |
|---|---|
static class |
VectoRexRepository.Builder |
| Modifier and Type | Method and Description |
|---|---|
static VectoRexRepository.Builder |
builder(EmbeddingModel embeddingModel,
io.github.javpower.vectorexclient.VectorRexClient client) |
void |
delete(String... ids) |
void |
dropRepository() |
boolean |
exists(String id) |
void |
initRepository() |
void |
insert(List<Document> documents) |
List<Document> |
search(QueryCondition condition) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsearchpublic void initRepository()
throws Exception
initRepository in interface RepositoryLifecycleExceptionpublic void dropRepository()
throws Exception
dropRepository in interface RepositoryLifecycleExceptionpublic void insert(List<Document> documents) throws IOException
insert in interface RepositoryStorableIOExceptionpublic void delete(String... ids) throws IOException
delete in interface RepositoryStorableIOExceptionpublic boolean exists(String id) throws IOException
exists in interface RepositoryStorableIOExceptionpublic List<Document> search(QueryCondition condition) throws IOException
search in interface RepositoryIOExceptionpublic static VectoRexRepository.Builder builder(EmbeddingModel embeddingModel, io.github.javpower.vectorexclient.VectorRexClient client)
Copyright © 2025. All rights reserved.