Uses of Enum Class
com.tnsai.annotations.Knowledge.Use
Packages that use Knowledge.Use
Package
Description
Custom annotations for the TnsAI framework.
Canonical RAG configuration and retrieval contracts.
-
Uses of Knowledge.Use in com.tnsai.annotations
Methods in com.tnsai.annotations that return Knowledge.UseModifier and TypeMethodDescriptionstatic Knowledge.UseReturns the enum constant of this class with the specified name.static Knowledge.Use[]Knowledge.Use.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of Knowledge.Use in com.tnsai.rag
Methods in com.tnsai.rag that return Knowledge.UseModifier and TypeMethodDescriptionKnowledgeUsage.mode()Returns the value of themoderecord component.KnowledgeEntry.use()Returns the value of theuserecord component.Methods in com.tnsai.rag with parameters of type Knowledge.UseModifier and TypeMethodDescriptionKnowledgeSelection.entries(Knowledge.Use use) static booleanKnowledgeDeclarations.keepsMaxTokens(Knowledge.Use below, Knowledge.Use use) Whether a layer keeps themaxTokensof the layer below it when the layer does not givemaxTokensitself: when it leavesuseas it was, or changes it toDIRECT.static booleanKnowledgeDeclarations.keepsSearch(Knowledge.Use below, Knowledge.Use use) Whether a layer keeps thesearchof the layer below it when the layer does not givesearchitself: when it leavesuseas it was, or changes it toSEARCH.Constructors in com.tnsai.rag with parameters of type Knowledge.UseModifierConstructorDescriptionKnowledgeEntry(KnowledgeSourceConfig source, Knowledge.Use use, OptionalInt maxTokens, Optional<SearchSettings> search) Creates an instance of aKnowledgeEntryrecord class.KnowledgeUsage(String source, Knowledge.Use mode, int documentCount, int tokens) Creates an instance of aKnowledgeUsagerecord class.