From 2c7ef16956516d5dbd3d4b3799ddd34c34785554 Mon Sep 17 00:00:00 2001 From: dal Date: Wed, 5 Feb 2025 12:30:51 -0700 Subject: [PATCH] fix the search value table --- api/src/utils/stored_values/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/utils/stored_values/mod.rs b/api/src/utils/stored_values/mod.rs index 3bdbc2d57..b8d9b1f1a 100644 --- a/api/src/utils/stored_values/mod.rs +++ b/api/src/utils/stored_values/mod.rs @@ -218,7 +218,7 @@ pub async fn search_stored_values( let schema_name = organization_id.to_string().replace("-", "_"); let query = format!( "SELECT value, column_name, column_id - FROM {}_values.values_v1 + FROM values_{}.values_v1 WHERE dataset_id = $2::uuid ORDER BY embedding <=> $1::vector LIMIT $3::integer",