LangChain: Move filter of FullTextRetriever into Lucene.

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: langchain-mongodb-0.3
    • Component/s: AI/ML, LangChain
    • None
    • None
    • Python Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      Context

      erik.hatcher@mongodb.com suggested that we could perform the filter in the $search stage (with Lucene) as opposed to adding a 2nd $match stage.

      Definition of done

      This would require a release, though all tests will continue to pass and code change is minimal.

      Pitfalls

      Must ensure we do the same in other integrations (notably Llama_Index)

              Assignee:
              Unassigned
              Reporter:
              Casey Clements
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: