Uses of Class
com.tnsai.rag.ChatKnowledgeBinding
Packages that use ChatKnowledgeBinding
Package
Description
Agent classes and lifecycle management for the TnsAI framework.
Agent chat orchestration for LLM invocation, history management, and tool call handling.
Agent orchestration — chat, streaming, tool execution, and knowledge base management.
Canonical RAG configuration and retrieval contracts.
-
Uses of ChatKnowledgeBinding in com.tnsai.agents
Methods in com.tnsai.agents that return types with arguments of type ChatKnowledgeBindingModifier and TypeMethodDescriptionfinal Optional<ChatKnowledgeBinding> Agent.getChatKnowledgeBinding()Returns the owner-scoped canonical chat binding, if configured: the binding of the SEARCH knowledge other than MEMORY when there is one, else the MEMORY binding.Methods in com.tnsai.agents with parameters of type ChatKnowledgeBindingModifier and TypeMethodDescriptionfinal voidAgent.setChatKnowledgeBinding(ChatKnowledgeBinding binding) Binds a live or provider-backed canonical retrieval source to chat. -
Uses of ChatKnowledgeBinding in com.tnsai.agents.chat
Methods in com.tnsai.agents.chat that return types with arguments of type ChatKnowledgeBindingModifier and TypeMethodDescriptiondefault Optional<ChatKnowledgeBinding> AgentChatOrchestrator.ChatContext.getChatKnowledgeBinding()Returns the canonical chat retrieval binding, if configured.default List<ChatKnowledgeBinding> AgentChatOrchestrator.ChatContext.getChatKnowledgeBindings()Returns every chat retrieval binding a turn searches, in the order their evidence renders: the binding of the SEARCH knowledge other than MEMORY, then the MEMORY binding. -
Uses of ChatKnowledgeBinding in com.tnsai.agents.orchestration
Methods in com.tnsai.agents.orchestration that return types with arguments of type ChatKnowledgeBindingModifier and TypeMethodDescriptionAgentOrchestrator.getChatKnowledgeBinding()AgentOrchestrator.getChatKnowledgeBindings()The installed chat bindings: the binding of the SEARCH knowledge other than MEMORY first, then the MEMORY binding, each when installed.Methods in com.tnsai.agents.orchestration with parameters of type ChatKnowledgeBindingModifier and TypeMethodDescriptionvoidAgentOrchestrator.setChatKnowledgeBinding(ChatKnowledgeBinding binding) Installs the binding of the agent's SEARCH chat knowledge other than MEMORY.voidAgentOrchestrator.setMemoryChatKnowledgeBinding(ChatKnowledgeBinding binding) Installs the binding of the agent's MEMORY chat knowledge, which a chat turn searches beside the bindingAgentOrchestrator.setChatKnowledgeBinding(com.tnsai.rag.ChatKnowledgeBinding)installs. -
Uses of ChatKnowledgeBinding in com.tnsai.rag
Methods in com.tnsai.rag that return ChatKnowledgeBindingModifier and TypeMethodDescriptionstatic ChatKnowledgeBindingChatKnowledgeBinding.create(Object exactOwner, String ownerId, RetrievalEngine engine, RetrievalConfig config) Creates a binding that can verify one exact owner object by identity.static ChatKnowledgeBindingChatKnowledgeBinding.create(String ownerId, RetrievalEngine engine, RetrievalConfig config) Creates an owner-scoped binding around an existing engine.static ChatKnowledgeBindingChatKnowledgeBinding.live(Object exactOwner, String ownerId, String sourceName, int topK, RetrievalEngine.Retriever retriever) Creates an exact-owner live binding with fail-open, no-cache defaults.static ChatKnowledgeBindingChatKnowledgeBinding.live(Object exactOwner, String ownerId, String sourceName, int topK, RetrievalEngine.Retriever retriever, Runnable closeAction) Creates an exact-owner live binding with an idempotent close action.static ChatKnowledgeBindingChatKnowledgeBinding.live(String ownerId, String sourceName, int topK, KnowledgeBase knowledgeBase) Creates a live binding over aKnowledgeBasethe application owns and keeps mutating.static ChatKnowledgeBindingChatKnowledgeBinding.live(String ownerId, String sourceName, int topK, RetrievalEngine.Retriever retriever) Creates a live-source binding with fail-open, no-cache chat defaults.static ChatKnowledgeBindingChatKnowledgeBinding.live(String ownerId, String sourceName, int topK, RetrievalEngine.Retriever retriever, Runnable closeAction) Creates a live-source binding with an idempotently invoked close action.static ChatKnowledgeBindingChatKnowledgeBinding.undeclared(Object exactOwner, String ownerId, String sourceName, int topK, int contextWindow, RetrievalEngine.Retriever retriever) undeclared(Object, String, String, int, RetrievalEngine.Retriever)whose evidence is rendered withincontextWindowestimated tokens instead of the default window ofRetrievalConfig.Builder.static ChatKnowledgeBindingChatKnowledgeBinding.undeclared(Object exactOwner, String ownerId, String sourceName, int topK, RetrievalEngine.Retriever retriever) Creates an exact-owner live binding that no@Knowledgedeclaration backs, with fail-open, no-cache defaults.Methods in com.tnsai.rag with parameters of type ChatKnowledgeBindingModifier and TypeMethodDescriptionstatic booleanChatKnowledgeBindingValidator.searchesMemory(ChatKnowledgeBinding binding, List<KnowledgeEntry> knowledge) Whether a binding searches the MEMORY entry of the given knowledge rather than its other SEARCH entries: whether any of its sources names an enabled MEMORY entry of the chat scope.static voidChatKnowledgeBindingValidator.validate(ChatKnowledgeBinding binding, Object owner, String ownerId, List<KnowledgeEntry> knowledge, String where) Checks a binding against the owner's declared knowledge.