Package com.tnsai.rag
Class SearchSettings.Builder
java.lang.Object
com.tnsai.rag.SearchSettings.Builder
- Enclosing class:
SearchSettings
Builds
SearchSettings; a member not set is not given.-
Method Summary
Modifier and TypeMethodDescriptionbuild()cache(boolean cache) cacheTTL(int cacheTTL) contextFormat(String contextFormat) contextWindow(int contextWindow) dedupeThreshold(double dedupeThreshold) deduplicate(boolean deduplicate) expandedQueries(int expandedQueries) includeSpec(boolean includeSpec) maxStaleness(int maxStaleness) minScore(double minScore) navigatorModel(String navigatorModel) onFailure(Search.FallbackAction onFailure) queryExpansion(Search.QueryExpansion queryExpansion) queryExpansionModel(String queryExpansionModel) queryParam(String queryParam) rerank(boolean rerank) rerankerModel(String rerankerModel) strategy(Search.Strategy strategy) topK(int topK) topN(int topN)
-
Method Details
-
strategy
-
queryParam
-
rerank
-
rerankerModel
-
contextWindow
-
topK
-
topN
-
minScore
-
deduplicate
-
dedupeThreshold
-
queryExpansion
-
queryExpansionModel
-
expandedQueries
-
includeSpec
-
contextFormat
-
cache
-
cacheTTL
-
maxStaleness
-
onFailure
-
build
-