Commit 9cbae82
feat: Spanner Implementation for Vector Store (#10)
* feat: Adding Vector Store Implementation for Spanner - Static Utility to create a table to store vector embeddings - Automatic Dialect Detection for GSQL and PG - Similarity Search & Maximal Marginal Relevance Search - Add documents and texts * feat: Validating Types, Columns at the time of VectorStore initialization & also while creating new table through static utility. * feat: Delete Vector embeddings through documents. * style: format and lint * feat: Adding init file to export VectorStore * feat: Adding delete to dynamically generate SQL for each row. * feat: Adding full support for staleness with multiple options like read_timestamp and min and exact staleness. * feat: Addressing review comments and adding data class for indexes. * feat: Adding support for secondary indexes. * feat: exporting secondary indexes. * style: lint * feat: Initiating client with user agent. * feat: Addressing review comments. * style: lint * style: lint * style: lint * test: Vector Store Implementation Integration Tests (#16) * test: Adding integration tests for static utility to create vector embeddings table. * test: Adding add,search,delete integration tests for VectorStore. * test: lint * test: lint * style: lint * style: lint * Empty-Commit to trigger tests * test: addressing review comments. * test: test fix * adding bs4 in test dependencies --------- Co-authored-by: Averi Kitsch <akitsch@google.com> * replacing - with : * style: lint * minor changes. --------- Co-authored-by: Averi Kitsch <akitsch@google.com>1 parent f9a3b93 commit 9cbae82
File tree
4 files changed
+1814
-1
lines changed- src/langchain_google_spanner
- tests/integration
4 files changed
+1814
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
16 | 23 | | |
17 | 24 | | |
18 | 25 | | |
19 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
0 commit comments