Commit 2109892
authored
fix: handle unspecified column_configs for KNN (#157)
* fix: handle unspecified column_configs for KNN Fixes a bug in which we tried to find the embedding columns. The prior integration tests for KNN all had certain fields filled in and hence couldn't catch this case. Thanks to the offline report from Amarnath Mullick. * embedding_service is only available in SpannerVectorStore constructor1 parent 1f7d444 commit 2109892
File tree
2 files changed
+15
-1
lines changed- src/langchain_google_spanner
- tests/integration
2 files changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
443 | | - | |
| 443 | + | |
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
93 | 100 | | |
94 | 101 | | |
95 | 102 | | |
| |||
160 | 167 | | |
161 | 168 | | |
162 | 169 | | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
163 | 177 | | |
164 | 178 | | |
165 | 179 | | |
| |||
0 commit comments