Uses of Record Class
com.tnsai.rag.KnowledgeSourceConfig
Packages that use KnowledgeSourceConfig
Package
Description
Agent classes and lifecycle management for the TnsAI framework.
Agent execution components including LLM orchestration, tool processing, and memory management.
Agent initialization and specification extraction.
Agent orchestration — chat, streaming, tool execution, and knowledge base management.
Canonical RAG configuration and retrieval contracts.
-
Uses of KnowledgeSourceConfig in com.tnsai.agents
Methods in com.tnsai.agents that return types with arguments of type KnowledgeSourceConfigModifier and TypeMethodDescriptionfinal List<KnowledgeSourceConfig> Agent.getAgentKnowledgeSources() -
Uses of KnowledgeSourceConfig in com.tnsai.agents.execution
Methods in com.tnsai.agents.execution that return types with arguments of type KnowledgeSourceConfigModifier and TypeMethodDescriptiondefault List<KnowledgeSourceConfig> AgentToolExecutor.AgentContext.getAgentKnowledgeSources()The sources of the agent's action-level knowledge. -
Uses of KnowledgeSourceConfig in com.tnsai.agents.init
Methods in com.tnsai.agents.init that return types with arguments of type KnowledgeSourceConfigModifier and TypeMethodDescriptionstatic List<KnowledgeSourceConfig> AgentSpecExtractor.extractKnowledgeSources(Class<?> agentClass) Static accessor forAgentSpecExtractor.getKnowledgeSources().AgentSpecExtractor.getKnowledgeSource(String name) Resolves a named knowledge source declared on the Agent class and normalizes it to the canonical runtime model.AgentSpecExtractor.getKnowledgeSources()Action-level sources declared on@AgentSpec.knowledge(). -
Uses of KnowledgeSourceConfig in com.tnsai.agents.orchestration
Methods in com.tnsai.agents.orchestration that return types with arguments of type KnowledgeSourceConfigModifier and TypeMethodDescriptionAgentOrchestrator.getAgentKnowledgeSources()default List<KnowledgeSourceConfig> AgentOrchestrator.OrchestratorContext.getAgentKnowledgeSources() -
Uses of KnowledgeSourceConfig in com.tnsai.rag
Methods in com.tnsai.rag that return KnowledgeSourceConfigModifier and TypeMethodDescriptionKnowledgeSourceConfig.Builder.build()static KnowledgeSourceConfigstatic KnowledgeSourceConfigConverts aKnowledgedeclaration's source members to the canonical runtime model.static KnowledgeSourceConfigAMEMORYsource: chat knowledge the application supplies at runtime through aChatKnowledgeBinding.KnowledgeEntry.source()Returns the value of thesourcerecord component.Returns a copy of this declaration with only the location replaced.KnowledgeSourceConfig.withSelection(Knowledge.Type type, String path, KnowledgeUnit unit) Copies this configuration with optional type, path and unit selections.Methods in com.tnsai.rag that return types with arguments of type KnowledgeSourceConfigMethods in com.tnsai.rag with parameters of type KnowledgeSourceConfigModifier and TypeMethodDescriptionChatKnowledgeResolver.resolve(KnowledgeSourceConfig source) Resolves one source declaration into the chat knowledge contract.static KnowledgeEntryKnowledgeEntry.search(KnowledgeSourceConfig source) A source searched with the scope's settings, as anAgentBuildersource is.Method parameters in com.tnsai.rag with type arguments of type KnowledgeSourceConfigModifier and TypeMethodDescriptionRetrievalEngineProvider.create(List<KnowledgeSourceConfig> sources) Creates a fresh engine bound to one owner's canonical source set.Constructors in com.tnsai.rag with parameters of type KnowledgeSourceConfigModifierConstructorDescriptionKnowledgeEntry(KnowledgeSourceConfig source, Knowledge.Use use, OptionalInt maxTokens, Optional<SearchSettings> search) Creates an instance of aKnowledgeEntryrecord class.