We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e36e54d commit 6a4164dCopy full SHA for 6a4164d
src/collections/serialize/index.ts
@@ -1082,7 +1082,7 @@ export class Serialize {
1082
await Serialize.hybridVector(args);
1083
return Hybrid.fromPartial({
1084
query: args.query,
1085
- alpha: args.alpha ? args.alpha : 0.5,
+ alpha: args.alpha !== undefined ? args.alpha : 0.5,
1086
properties: this.bm25QueryProperties(args.queryProperties),
1087
vectorBytes: vectorBytes,
1088
vectorDistance: args.maxVectorDistance,
0 commit comments