Uses of Enum Class
com.tnsai.annotations.Knowledge.Type
Packages that use Knowledge.Type
Package
Description
Custom annotations for the TnsAI framework.
Canonical RAG configuration and retrieval contracts.
-
Uses of Knowledge.Type in com.tnsai.annotations
Methods in com.tnsai.annotations that return Knowledge.TypeModifier and TypeMethodDescriptionstatic Knowledge.TypeReturns the enum constant of this class with the specified name.static Knowledge.Type[]Knowledge.Type.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of Knowledge.Type in com.tnsai.rag
Methods in com.tnsai.rag that return Knowledge.TypeModifier and TypeMethodDescriptionKnowledgeSourceConfig.type()Returns the value of thetyperecord component.Methods in com.tnsai.rag with parameters of type Knowledge.TypeModifier and TypeMethodDescriptionKnowledgeSourceConfig.builder(String name, Knowledge.Type type) KnowledgeSourceConfig.withSelection(Knowledge.Type type, String path, KnowledgeUnit unit) Copies this configuration with optional type, path and unit selections.Constructors in com.tnsai.rag with parameters of type Knowledge.TypeModifierConstructorDescriptionKnowledgeSourceConfig(String name, Knowledge.Type type, DocumentFormat format, String path, String connection, String query, boolean enabled) Seven-argument form: empty include/exclude selectors.KnowledgeSourceConfig(String name, Knowledge.Type type, DocumentFormat format, String path, String connection, String query, boolean enabled, List<String> include, List<String> exclude) Nine-argument form:KnowledgeUnit.AUTOandChunkContext.NONE.KnowledgeSourceConfig(String name, Knowledge.Type type, DocumentFormat format, String path, String connection, String query, boolean enabled, List<String> include, List<String> exclude, ChunkContext chunkContext, String chunkContextModel) Eleven-argument form:KnowledgeUnit.AUTO.KnowledgeSourceConfig(String name, Knowledge.Type type, DocumentFormat format, String path, String connection, String query, boolean enabled, List<String> include, List<String> exclude, KnowledgeUnit unit) Ten-argument form:ChunkContext.NONE.KnowledgeSourceConfig(String name, Knowledge.Type type, DocumentFormat format, String path, String connection, String query, boolean enabled, List<String> include, List<String> exclude, KnowledgeUnit unit, ChunkContext chunkContext, String chunkContextModel) Twelve-argument form: noselect, so whole documents load.KnowledgeSourceConfig(String name, Knowledge.Type type, DocumentFormat format, String path, String connection, String query, boolean enabled, List<String> include, List<String> exclude, KnowledgeUnit unit, ChunkContext chunkContext, String chunkContextModel, String select) Creates an instance of aKnowledgeSourceConfigrecord class.KnowledgeSourceConfig(String name, Knowledge.Type type, String path, String connection, String query, boolean enabled) Creates a source using the canonicalDocumentFormat.AUTOdefault and empty selectors.