Uploaded image for project: 'Python Integrations'
  1. Python Integrations
  2. INTPYTHON-302

Harden search index commands in Langchain

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Unknown 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?

      Context

      Programmatic search index commands (like create, update, delete) are not available to free shared clusters like M0. We wish to have the best of both worlds: Expose these methods to users that have them available, and also point new free users in the right direction to manually create them.

      We also wish to test these methods. These methods ARE available to US, but the syncing time for the indexes is prohibitive.

      Definition of done

      • Add try/except block that provides a message pointing user to manual setup.
      • Add optional timeouts.
      • Merge into Langchain, who have repeatedly inquired about these methods.

      Pitfalls

      All the work put into Langchain is not shared with other integrations, nor pymongo itself. Let's discuss whether this should be part of pymongo.

            Assignee:
            casey.clements@mongodb.com Casey Clements
            Reporter:
            casey.clements@mongodb.com Casey Clements
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: