| Package | Description |
|---|---|
| org.noear.solon.ai.rag | |
| org.noear.solon.ai.rag.repository | |
| org.noear.solon.ai.rag.util |
| Modifier and Type | Method and Description |
|---|---|
List<Document> |
Repository.search(QueryCondition condition)
检索
|
| Modifier and Type | Method and Description |
|---|---|
List<Document> |
WebSearchRepository.search(QueryCondition condition) |
List<Document> |
InMemoryRepository.search(QueryCondition condition) |
| Modifier and Type | Method and Description |
|---|---|
QueryCondition |
QueryCondition.disableRefilter(boolean disableRefilter)
配置禁用重过滤
|
QueryCondition |
QueryCondition.filterExpression(org.noear.solon.expression.Expression<Boolean> filterExpression)
配置过滤表达式
|
QueryCondition |
QueryCondition.filterExpression(String filterExpression)
配置过滤表达式
|
QueryCondition |
QueryCondition.freshness(Freshness freshness)
热度(时间范围)
|
QueryCondition |
QueryCondition.limit(int limit)
配置限制条数
|
QueryCondition |
QueryCondition.similarityThreshold(double similarityThreshold)
配置相似度阈值
|
| Modifier and Type | Method and Description |
|---|---|
static List<Document> |
SimilarityUtil.refilter(Stream<Document> docs,
QueryCondition condition)
再过滤
|
Copyright © 2025. All rights reserved.