Skip to content

Commit f916db9

Browse files
committed
chore: minor renaming
1 parent 95f29b2 commit f916db9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/common/search/embeddingsProvider.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,27 +19,27 @@ const zVoyageSupportedDimensions = z
1919
.default(1024);
2020

2121
const zVoyageQuantization = z.enum(["float", "int8", "binary", "ubinary"]).default("float");
22-
const zVoyageInputQuery = z.enum(["query", "document"]);
22+
const zVoyageInputType = z.enum(["query", "document"]);
2323

2424
export const zVoyageModels = z.enum(["voyage-3-large", "voyage-3.5", "voyage-3.5-lite", "voyage-code-3"]);
2525
export const zVoyageParameters = {
2626
"voyage-3-large": z.object({
27-
inputType: zVoyageInputQuery,
27+
inputType: zVoyageInputType,
2828
outputDimensions: zVoyageSupportedDimensions,
2929
outputDtype: zVoyageQuantization,
3030
}),
3131
"voyage-3.5": z.object({
32-
inputType: zVoyageInputQuery,
32+
inputType: zVoyageInputType,
3333
outputDimensions: zVoyageSupportedDimensions,
3434
outputDtype: zVoyageQuantization,
3535
}),
3636
"voyage-3.5-lite": z.object({
37-
inputType: zVoyageInputQuery,
37+
inputType: zVoyageInputType,
3838
outputDimensions: zVoyageSupportedDimensions,
3939
outputDtype: zVoyageQuantization,
4040
}),
4141
"voyage-code-3": z.object({
42-
inputType: zVoyageInputQuery,
42+
inputType: zVoyageInputType,
4343
outputDimensions: zVoyageSupportedDimensions,
4444
outputDtype: zVoyageQuantization,
4545
}),

0 commit comments

Comments
 (0)