public class BochaWebSearchRepository extends java.lang.Object implements Repository
| 限定符和类型 | 类和说明 |
|---|---|
static class |
BochaWebSearchRepository.Builder
构建器
|
| 构造器和说明 |
|---|
BochaWebSearchRepository(AiConfig config) |
BochaWebSearchRepository(EmbeddingModel embeddingModel,
AiConfig config) |
| 限定符和类型 | 方法和说明 |
|---|---|
static BochaWebSearchRepository.Builder |
of(java.lang.String apiUrl) |
java.util.List<Document> |
search(QueryCondition condition)
检索
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsearchpublic BochaWebSearchRepository(AiConfig config)
public BochaWebSearchRepository(EmbeddingModel embeddingModel, AiConfig config)
public java.util.List<Document> search(QueryCondition condition) throws java.io.IOException
Repositorysearch 在接口中 Repositorycondition - 查询条件java.io.IOExceptionpublic static BochaWebSearchRepository.Builder of(java.lang.String apiUrl)