Skip to content

Deprecate HanaDB, HanaTranslator and update example notebook to use new implementation #30896

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

yberber-sap
Copy link

  • Description:
    This PR marks the HanaDB vector store (and related utilities) in langchain_community as deprecated using the @deprecated annotation.

    • Set since="0.1.0" and removal="1.0"
    • Added a clear migration path and a link to the SAP-maintained replacement in the langchain_hana package.
      Additionally, the example notebook has been updated to use the new HanaDB class from langchain_hana, ensuring users follow the recommended integration moving forward.
  • Issue: None

  • Dependencies: None

…or implementations

- Add deprecation warnings to hana implementation that are in langchain-hana.
…implementation

- Replaced usage of the deprecated HanaDB class with the new HanaDB from the
  langchain_hana package.
- Updated import paths and example code to reflect the recommended migration path.
- Added examples demonstrating new features such as keyword search and internal embeddings.
Copy link

vercel bot commented Apr 17, 2025

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

Name Status Preview Comments Updated (UTC)
langchain ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2025 7:46pm

@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. community Related to langchain-community Ɑ: vector store Related to vector store module 🤖:docs Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder labels Apr 17, 2025
@yberber-sap
Copy link
Author

Hi @ccurme @baskaryan @efriis @eyurtsev 👋 could you please take a look at this PR and let us know if anything is missing? I'd appreciate your feedback!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Related to langchain-community 🤖:docs Changes to documentation and examples, like .md, .rst, .ipynb files. Changes to the docs/ folder size:L This PR changes 100-499 lines, ignoring generated files. Ɑ: vector store Related to vector store module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant