Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

milvus: add_db_milvus_connection #25627

Merged
merged 4 commits into from
Aug 26, 2024

Conversation

venkatram-dev
Copy link
Contributor

@venkatram-dev venkatram-dev commented Aug 21, 2024

Thank you for contributing to LangChain!

  • PR title: "package: description"

    • Where "package" is whichever of langchain, community, core, experimental, etc. is being modified. Use "docs: ..." for purely docs changes, "templates: ..." for template changes, "infra: ..." for CI changes.
    • Example: "community: add foobar LLM"
    • "libs: langchain_milvus: add db name to milvus connection check"
  • PR message: Delete this entire checklist and replace with

  • Add tests and docs: If you're adding a new integration, please include

    1. a test for the integration, preferably unit tests that do not rely on network access,
    2. an example notebook showing its use. It lives in docs/docs/integrations directory.
  • Lint and test: Run make format, make lint and make test from the root of the package(s) you've modified. See contribution guidelines for more: https://python.langchain.com/docs/contributing/

Additional guidelines:

  • Make sure optional dependencies are imported within a function.
  • Please do not add dependencies to pyproject.toml files (even optional ones) unless they are required for unit tests.
  • Most PRs should not touch more than one package.
  • Changes should be backwards compatible.
  • If you are adding something to community, do not re-import it in langchain.

If no one reviews your PR within a few days, please @-mention one of baskaryan, efriis, eyurtsev, ccurme, vbarda, hwchase17.

@efriis efriis added the partner label Aug 21, 2024
Copy link

vercel bot commented Aug 21, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
langchain ⬜️ Ignored (Inspect) Visit Preview Aug 26, 2024 5:26pm

@efriis efriis self-assigned this Aug 21, 2024
@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. Ɑ: vector store Related to vector store module 🔌: milvus Primarily related to Milvus vector store integration 🤖:improvement Medium size change to existing code to handle new use-cases labels Aug 21, 2024
@venkatram-dev
Copy link
Contributor Author

@baskaryan , made a commit to fix linting errors. Please retry the CI checks.

@zc277584121
Copy link
Contributor

LGTM

@efriis efriis changed the title add_db_milvus_connection milvus: add_db_milvus_connection Aug 26, 2024
@efriis efriis enabled auto-merge (squash) August 26, 2024 17:26
@efriis efriis merged commit ec99f0d into langchain-ai:master Aug 26, 2024
16 checks passed
@hasansustcse13
Copy link
Contributor

This problem was reported by me in Milvus. This fix now create new instance every time as milvus team doesn't provide db_name in the connection list yet. I am wondering why this pr has been merged despite dependency of milvus.
milvus-io/pymilvus#2161
@efriis

@efriis
Copy link
Member

efriis commented Oct 9, 2024

hey! if there are outstanding issues, please open them against the https://github.com/langchain-ai/langchain-milvus repo, which is primarily maintained by the milvus team including @zc277584121 who approved this PR

@hasansustcse13
Copy link
Contributor

@efriis First Pymilvus team need to adjust the problem. Then We can integrate in langchain/ langchain milvus (which already done in this pr) . I have reported this a long time ago but they didn't fix it. That's why I have made a merge request in milvus-io. Let's see when they merge it

milvus-io/pymilvus#2285

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🤖:improvement Medium size change to existing code to handle new use-cases 🔌: milvus Primarily related to Milvus vector store integration partner size:XS This PR changes 0-9 lines, ignoring generated files. Ɑ: vector store Related to vector store module
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants