Skip to content

[ES2-1256] convert es2 to pyenvector#9

Merged
euphoria0-0 merged 2 commits into
feature/ES2-979-score-searchesfrom
ES2-1256-Langchain-es2-pyenvector
Dec 8, 2025
Merged

[ES2-1256] convert es2 to pyenvector#9
euphoria0-0 merged 2 commits into
feature/ES2-979-score-searchesfrom
ES2-1256-Langchain-es2-pyenvector

Conversation

@euphoria0-0
Copy link
Copy Markdown
Contributor

langchain에서 SDK를 es2에서 pyenvector로 변환합니다

@euphoria0-0 euphoria0-0 self-assigned this Dec 8, 2025
@euphoria0-0 euphoria0-0 changed the base branch from main to feature/ES2-979-score-searches December 8, 2025 01:02
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 es2 to pyenvector in pyproject.toml and test requirements
  • Renamed SDK references throughout the codebase (e.g., es2.ES2pyenvector.EnvectorClient)
  • Updated environment variables from ES2_* to ENVECTOR_* prefix
  • Added new methods similarity_search_with_score and similarity_search_with_score_by_vector to 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.

Comment thread README.md
@euphoria0-0 euphoria0-0 merged commit 00ce037 into feature/ES2-979-score-searches Dec 8, 2025
1 check passed
@euphoria0-0 euphoria0-0 deleted the ES2-1256-Langchain-es2-pyenvector branch December 8, 2025 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants