-
Notifications
You must be signed in to change notification settings - Fork 21
Comparing changes
Open a pull request
base repository: googleapis/langchain-google-spanner-python
base: v0.7.0
head repository: googleapis/langchain-google-spanner-python
compare: v0.8.0
- 6 commits
- 17 files changed
- 5 contributors
Commits on Jan 30, 2025
-
fix(testing+linting): add nox lint+format directives (#123)
* fix(testing+linting): add nox lint+format directives This change introduces new nox directives: * blacken: `nox -s blacken` * format: `nox -s format` to apply formatting to files * lint: `nox -s lint` to flag linting issues * integration: to run integration tests * unit: to run unit tests locally which are the basis to enable scalable development and continuous testing as I prepare to bring in Approximate Nearest Neighors (ANN) functionality into this package. * Rebased from main and re-ran nox -s format/lint
Configuration menu - View commit details
-
Copy full SHA for b10dc28 - Browse repository at this point
Copy the full SHA b10dc28View commit details
Commits on Feb 4, 2025
-
feat: implement Approximate Nearest Neighbor support for DDL (CREATE …
…TABLE, CREATE VECTOR INDEX) (#124) * fix(testing+linting): add nox lint+format directives This change introduces new nox directives: * blacken: `nox -s blacken` * format: `nox -s format` to apply formatting to files * lint: `nox -s lint` to flag linting issues * unit: to run unit tests locally which are the basis to enable scalable development and continuous testing as I prepare to bring in Approximate Nearest Neighors (ANN) functionality into this package. Also while here, fixed a typo in the README.rst file that didn't have the correct import path. * feat: add Approximate Nearest Neighbor support to distance strategies This change adds ANN distance strategies for GoogleSQL semantics. While here started unit tests to effectively test out components without having to have a running Cloud Spanner instance. Updates #94 * Ensure vector fits within limits in sample * Update ANN query names + test expectations * Pass in strategy inferred from initialization * Hook up get_documents_from_query_results * Link up __search_by_ANN to similarity_search_by_vector * Incorporate pre_filter and post_filter plus update tests * Review addressing * Simplified checking if using ANN * Reduce the amount of changes * More reductions * More reductions to ease code review * Fit with get_rows_by_similarity_search_ann * Updates from nox * Fix PostGreSQL
Configuration menu - View commit details
-
Copy full SHA for 5a25f91 - Browse repository at this point
Copy the full SHA 5a25f91View commit details
Commits on Feb 7, 2025
-
fix: make ANN algorithm updates based off usage + testing (#140)
This change is carved out of PR #138, due to the fact that at present, Google Cloud Spanner vector index creation and deletion takes a very long time and is non-deterministic hence unreliable for integration tests so these updates which have unit tests are exclusive of the integration tests and allow for usage directly as Google engineering figures out the backend issues. Updates #94.
Configuration menu - View commit details
-
Copy full SHA for 524678b - Browse repository at this point
Copy the full SHA 524678bView commit details -
feat(samples): provide guide for ANN vector store end-to-end usage in…
Configuration menu - View commit details
-
Copy full SHA for f78b9ee - Browse repository at this point
Copy the full SHA f78b9eeView commit details -
feat(graph): Flexible Schema Extension to SpannerGraphStore (#125)
* Extension to SpannerGraphStore - Allow a dynamic schema for nodes and edges: - nodes are stored in one table with dynamic label and properties (JSON) - Allow more than one (src.node.id, target.node.id, edge.type) by introducing a uuid as part of the key; - Prefix the table names with graph names to avoid conflicting. * Fix linters * Update notebook for illustrate flexible schema * Remove the uuid key * Resolve comments * Avoid unnecessary overwrites based on the specified properties Previously, we override all columns by schema; with this change, we selectively write specified columns. Note: - this won't change the behavior if you always do a full blind write; * Address comments * Minor updates to the interface * Add agent info for usage tracking * Update src/langchain_google_spanner/graph_store.py --------- Co-authored-by: Averi Kitsch <akitsch@google.com>
Configuration menu - View commit details
-
Copy full SHA for 44db678 - Browse repository at this point
Copy the full SHA 44db678View commit details
Commits on Feb 10, 2025
-
chore(main): release 0.8.0 (#134)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 3872af1 - Browse repository at this point
Copy the full SHA 3872af1View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.7.0...v0.8.0