public interface Retriever
| Modifier and Type | Method and Description |
|---|---|
List<Document> |
getRelevantDocument(String query)
检索相关文档
|
List<Document> |
getRelevantDocument(String query,
int topK)
检索相关文档(topK条)
|
Copyright © 2024. All rights reserved.