[ES2-1256] convert es2 to pyenvector#9
Merged
euphoria0-0 merged 2 commits intoDec 8, 2025
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR migrates the SDK dependency from es2 to pyenvector, updating all references, imports, and documentation throughout the codebase. The change includes renaming environment variables, updating package dependencies, and refactoring code to use the new SDK's API.
Key changes:
- Updated package dependency from
es2topyenvectorinpyproject.tomland test requirements - Renamed SDK references throughout the codebase (e.g.,
es2.ES2→pyenvector.EnvectorClient) - Updated environment variables from
ES2_*toENVECTOR_*prefix - Added new methods
similarity_search_with_scoreandsimilarity_search_with_score_by_vectorto the vectorstore
Reviewed changes
Copilot reviewed 14 out of 15 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| pyproject.toml | Updated package version to 0.1.3, changed dependency from es2 to pyenvector, updated keywords |
| tests/requirements.txt | Updated wheel dependency from es2-1.0.3rc7 to pyenvector-1.2.0 |
| tests/test_vectorstore.py | Added test coverage for new similarity_search_with_score methods |
| tests/integration/test_es2_integration.py | Updated environment variables and SDK imports to use pyenvector |
| pytest.ini | Updated marker description to reference EnVector instead of ES2 |
| libs/envector/langchain_envector/client.py | Refactored to use pyenvector.EnvectorClient and pyenvector.Index |
| libs/envector/langchain_envector/vectorstore.py | Added new search methods and refactored to use shared internal method |
| libs/envector/langchain_envector/types.py | Updated comments to reference pyenvector |
| libs/envector/langchain_envector/init.py | Updated package docstring |
| libs/envector/examples/*.py | Updated requirement comments |
| libs/envector/README.md | Updated SDK references and added usage examples |
| README.md | Updated all SDK and environment variable references |
| CONTRIBUTE.md | Updated development guidelines and test instructions |
| .github/workflows/release.yaml | Updated release workflow to reference pyenvector |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
SongHyeopPark
approved these changes
Dec 8, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
langchain에서 SDK를 es2에서 pyenvector로 변환합니다