@@ -19,27 +19,27 @@ const zVoyageSupportedDimensions = z
1919 . default ( 1024 ) ;
2020
2121const zVoyageQuantization = z . enum ( [ "float" , "int8" , "binary" , "ubinary" ] ) . default ( "float" ) ;
22- const zVoyageInputQuery = z . enum ( [ "query" , "document" ] ) ;
22+ const zVoyageInputType = z . enum ( [ "query" , "document" ] ) ;
2323
2424export const zVoyageModels = z . enum ( [ "voyage-3-large" , "voyage-3.5" , "voyage-3.5-lite" , "voyage-code-3" ] ) ;
2525export 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