Uses of Record Class
com.tnsai.session.extraction.ExtractedKnowledge
Packages that use ExtractedKnowledge
Package
Description
Knowledge extraction from agent sessions.
-
Uses of ExtractedKnowledge in com.tnsai.session.consolidation
Methods in com.tnsai.session.consolidation that return types with arguments of type ExtractedKnowledgeModifier and TypeMethodDescriptionConsolidationResult.extractedKnowledge()Returns the value of theextractedKnowledgerecord component.Constructor parameters in com.tnsai.session.consolidation with type arguments of type ExtractedKnowledgeModifierConstructorDescriptionConsolidationResult(String sessionId, String summary, List<ExtractedKnowledge> extractedKnowledge, int originalMessageCount, int consolidatedMessageCount, Duration duration) Creates an instance of aConsolidationResultrecord class. -
Uses of ExtractedKnowledge in com.tnsai.session.extraction
Methods in com.tnsai.session.extraction that return ExtractedKnowledgeModifier and TypeMethodDescriptionExtractedKnowledge.Builder.build()Builds the ExtractedKnowledge instance.Methods in com.tnsai.session.extraction that return types with arguments of type ExtractedKnowledgeModifier and TypeMethodDescriptiondefault List<ExtractedKnowledge> KnowledgeExtractor.extract(AgentSession session) Extracts all types of knowledge from a session.KnowledgeExtractor.extract(AgentSession session, Set<ExtractionType> types) Extracts specific types of knowledge from a session.LLMKnowledgeExtractor.extract(AgentSession session, Set<ExtractionType> types) default List<ExtractedKnowledge> KnowledgeExtractor.extractAll(List<AgentSession> sessions) Extracts knowledge from multiple sessions.default List<ExtractedKnowledge> KnowledgeExtractor.extractAll(List<AgentSession> sessions, Set<ExtractionType> types) Extracts knowledge from multiple sessions with specific types.FileKnowledgeStore.findSimilar(ExtractedKnowledge knowledge, int limit) InMemoryKnowledgeStore.findSimilar(ExtractedKnowledge knowledge, int limit) KnowledgeStore.findSimilar(ExtractedKnowledge knowledge, int limit) Finds knowledge similar to the given item.FileKnowledgeStore.listBySession(String sessionId) InMemoryKnowledgeStore.listBySession(String sessionId) KnowledgeStore.listBySession(String sessionId) Lists all knowledge by session.FileKnowledgeStore.listByType(ExtractionType type) InMemoryKnowledgeStore.listByType(ExtractionType type) KnowledgeStore.listByType(ExtractionType type) Lists all knowledge by type.FileKnowledgeStore.listRecent(int limit) InMemoryKnowledgeStore.listRecent(int limit) KnowledgeStore.listRecent(int limit) Lists recent knowledge.Loads knowledge by ID.FileKnowledgeStore.search(String query, KnowledgeFilter filter) InMemoryKnowledgeStore.search(String query, KnowledgeFilter filter) default List<ExtractedKnowledge> Searches knowledge by text query.KnowledgeStore.search(String query, KnowledgeFilter filter) Searches knowledge with filter.Methods in com.tnsai.session.extraction with parameters of type ExtractedKnowledgeModifier and TypeMethodDescriptionFileKnowledgeStore.findSimilar(ExtractedKnowledge knowledge, int limit) InMemoryKnowledgeStore.findSimilar(ExtractedKnowledge knowledge, int limit) KnowledgeStore.findSimilar(ExtractedKnowledge knowledge, int limit) Finds knowledge similar to the given item.booleanKnowledgeFilter.matches(ExtractedKnowledge knowledge) Tests if knowledge matches this filter.voidFileKnowledgeStore.save(ExtractedKnowledge knowledge) voidInMemoryKnowledgeStore.save(ExtractedKnowledge knowledge) voidKnowledgeStore.save(ExtractedKnowledge knowledge) Saves knowledge to the store.Method parameters in com.tnsai.session.extraction with type arguments of type ExtractedKnowledgeModifier and TypeMethodDescriptiondefault voidKnowledgeStore.saveAll(List<ExtractedKnowledge> knowledgeList) Saves multiple knowledge items.