Package com.tnsai.session.extraction
Class KnowledgeFilter.Builder
java.lang.Object
com.tnsai.session.extraction.KnowledgeFilter.Builder
- Enclosing class:
KnowledgeFilter
Builder for KnowledgeFilter.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFilters knowledge extracted after this time.Filters knowledge extracted before this time.build()Builds the filter.limit(int limit) Sets maximum number of results.matchAnyTag(boolean matchAny) Sets tag matching mode.minConfidence(double minConfidence) Sets minimum confidence threshold.Filters by project path.Filters by session ID.Filters by tags (must match all tags).Filters by tags (must match all tags).types(ExtractionType... types) Filters by extraction types.types(Set<ExtractionType> types) Filters by extraction types.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
types
Filters by extraction types. -
types
Filters by extraction types. -
minConfidence
Sets minimum confidence threshold. -
tags
Filters by tags (must match all tags). -
tags
Filters by tags (must match all tags). -
matchAnyTag
Sets tag matching mode.- Parameters:
matchAny- if true, match any tag; if false, match all tags
-
project
Filters by project path. -
session
Filters by session ID. -
after
Filters knowledge extracted after this time. -
before
Filters knowledge extracted before this time. -
limit
Sets maximum number of results. -
build
Builds the filter.
-