feat: semantic search (1/n)

Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
This commit is contained in:
Aaron Pham
2025-10-05 19:50:52 -04:00
parent f14260b2ba
commit f533902c75
23 changed files with 2955 additions and 502 deletions

View File

@@ -78,6 +78,34 @@ export interface GlobalConfiguration {
* Region Codes: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
*/
locale: ValidLocale
/** Semantic search configuration */
semanticSearch?: {
enable: boolean
model: string
aot: boolean
dtype: "fp32" | "fp16"
dims: number
shardSizeRows: number
manifestUrl?: string
manifestBaseUrl?: string
disableCache?: boolean
hnsw: {
M: number
efConstruction: number
efSearch?: number
}
chunking: {
chunkSize: number
chunkOverlap: number
noChunking?: boolean
}
vllm?: {
enable: boolean
vllmUrl?: string
concurrency: number
batchSize: number
}
}
}
export interface QuartzConfig {