There was an error while loading. Please reload this page.
1 parent a345449 commit 5138783Copy full SHA for 5138783
1 file changed
src/interfaces.ts
@@ -133,9 +133,13 @@ export interface SearchMatch {
133
*/
134
dataset: string;
135
/**
136
- * The similarity of the match to the query
+ * The similarity of the match to the query (Spice v1)
137
138
- score: number;
+ score?: number;
139
+ /**
140
+ * The similarity of the match to the query (Spice v2)
141
+ */
142
+ _score?: number;
143
144
* The matches for this result
145
0 commit comments