Squashed 'vendor/ruvector/' content from commit b64c2172
git-subtree-dir: vendor/ruvector git-subtree-split: b64c21726f2bb37286d9ee36a7869fef60cc6900
This commit is contained in:
26
npm/packages/postgres-cli/src/commands/quantization.d.ts
vendored
Normal file
26
npm/packages/postgres-cli/src/commands/quantization.d.ts
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* Quantization Commands
|
||||
* CLI commands for vector quantization operations (binary, scalar, product)
|
||||
*/
|
||||
import type { RuVectorClient } from '../client.js';
|
||||
export interface BinaryQuantizeOptions {
|
||||
vector: string;
|
||||
}
|
||||
export interface ScalarQuantizeOptions {
|
||||
vector: string;
|
||||
}
|
||||
export interface QuantizedSearchOptions {
|
||||
table: string;
|
||||
query: string;
|
||||
topK?: string;
|
||||
quantType?: 'binary' | 'scalar';
|
||||
}
|
||||
export declare class QuantizationCommands {
|
||||
static binaryQuantize(client: RuVectorClient, options: BinaryQuantizeOptions): Promise<void>;
|
||||
static scalarQuantize(client: RuVectorClient, options: ScalarQuantizeOptions): Promise<void>;
|
||||
static stats(client: RuVectorClient): Promise<void>;
|
||||
static compare(client: RuVectorClient, vector: string): Promise<void>;
|
||||
static showHelp(): void;
|
||||
}
|
||||
export default QuantizationCommands;
|
||||
//# sourceMappingURL=quantization.d.ts.map
|
||||
Reference in New Issue
Block a user