Combine autoembedding_vector_search_stage and vector_search_stage

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: AI/ML
    • None
    • Python Drivers
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?
    • None
    • None
    • None
    • None
    • None
    • None

      Context

      We currently have two separate methods to generate vector search aggregation pipelines for use in our AI frameworks: vector_search_stage and autoembedding_vector_search_stage. Both generate similar pipelines, the only difference being that one is for auto-embedded vector search indexes and one is for externally-embedded indexes. That difference is not large enough to require two separate methods.

      Definition of done

      Combine vector_search_stage and autoembedding_vector_search_stage into a single updated vector_search_stage function that serves both types of search pipeline.

      Pitfalls

      All existing usages of both functions must continue to work unchanged.

            Assignee:
            Unassigned
            Reporter:
            Noah Stapp
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: