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