Skip to content

Commit 1f6b02d

Browse files
committed
Rename size -> dimensinos and function -> metric
1 parent ac543e5 commit 1f6b02d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/collections/options.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ export const updateOneInternalOptionsKeys: Set<string> = new Set(
122122

123123
class _CreateCollectionOptions {
124124
vector?: {
125-
size: number;
126-
function?: "cosine" | "euclidean" | "dot_product";
125+
dimensions: number;
126+
metric?: "cosine" | "euclidean" | "dot_product";
127127
} = undefined;
128128
}
129129

0 commit comments

Comments
 (0)