This repository was archived by the owner on Jul 16, 2025. It is now read-only.
Commit a42da3a
authored
chore: Allow arbitrary vector dimensions for MariaDB store (#348)
MariaDB insists the dimensions of the vector being inserted match
exactly the dimensions of the vector defined in the schema.
Since the store knows nothing about the Model & it's expected vector
dimensions, let's allow passing vector dimensions as a parameter to
`initialize()` leave the problem to the user.1 parent b3acb31 commit a42da3a
1 file changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
134 | | - | |
| 133 | + | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
149 | | - | |
| 149 | + | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
156 | 157 | | |
157 | 158 | | |
158 | 159 | | |
| |||
0 commit comments