java.lang.Object
fr.paris.lutece.plugins.wiki.modules.ai.service.rag.components.WikiContentRetriever
All Implemented Interfaces:
dev.langchain4j.rag.content.retriever.ContentRetriever

public class WikiContentRetriever extends Object implements dev.langchain4j.rag.content.retriever.ContentRetriever
Secure content retriever that applies hierarchical access control. Wraps another ContentRetriever and filters results based on Wiki permissions.
  • Constructor Summary

    Constructors
    Constructor
    Description
    WikiContentRetriever(dev.langchain4j.rag.content.retriever.ContentRetriever delegate, fr.paris.lutece.portal.service.security.LuteceUser user)
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    List<dev.langchain4j.rag.content.Content>
    retrieve(dev.langchain4j.rag.query.Query query)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface dev.langchain4j.rag.content.retriever.ContentRetriever

    addListener, addListeners, retrieveAsync
  • Constructor Details

    • WikiContentRetriever

      public WikiContentRetriever(dev.langchain4j.rag.content.retriever.ContentRetriever delegate, fr.paris.lutece.portal.service.security.LuteceUser user)
      Constructor
      Parameters:
      delegate - the underlying content retriever
      user - the Lutece user for access control
  • Method Details

    • retrieve

      public List<dev.langchain4j.rag.content.Content> retrieve(dev.langchain4j.rag.query.Query query)
      Specified by:
      retrieve in interface dev.langchain4j.rag.content.retriever.ContentRetriever