Package com.tnsai.rag

Interface ChatKnowledgeResolver

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ChatKnowledgeResolver
Optional bridge from a canonical source configuration to the chat-level KnowledgeBase contract.
Since:
0.13.0
  • Method Details

    • resolve

      Resolves one source declaration into the chat knowledge contract.
      Parameters:
      source - canonical source declaration
      Returns:
      populated knowledge base
    • find

      Discovers the optional runtime bridge.
      Returns:
      the first installed bridge, if present