public class WebSearchRepository extends Object implements Repository
| Modifier and Type | Class and Description |
|---|---|
static class |
WebSearchRepository.Builder
构建器
|
| Constructor and Description |
|---|
WebSearchRepository(AiConfig config) |
WebSearchRepository(EmbeddingModel embeddingModel,
AiConfig config) |
| Modifier and Type | Method and Description |
|---|---|
static WebSearchRepository.Builder |
of(String apiUrl) |
List<Document> |
search(QueryCondition condition)
检索
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsearchpublic WebSearchRepository(AiConfig config)
public WebSearchRepository(EmbeddingModel embeddingModel, AiConfig config)
public List<Document> search(QueryCondition condition) throws IOException
Repositorysearch in interface Repositorycondition - 查询条件IOExceptionpublic static WebSearchRepository.Builder of(String apiUrl)
Copyright © 2025. All rights reserved.