Skip to content

Commit

Permalink
build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhavyajain21 committed Oct 20, 2024
1 parent d29cfbb commit c28b5d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion extension/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ fn init_rag(
columns,
unique_record_id,
None,
index_dist_type,
index_dist_type.into(),
&transformer_model,
table_method.into(),
schedule,
Expand Down
4 changes: 3 additions & 1 deletion extension/src/types.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
use pgrx::*;
use vectorize_core::types::{IndexDist as CoreIndexDist, TableMethod as CoreTableMethod};
use vectorize_core::types::{
IndexDist as CoreIndexDist, SimilarityAlg as CoreSimilarityAlg, TableMethod as CoreTableMethod,
};

use serde::{Deserialize, Serialize};
pub const VECTORIZE_SCHEMA: &str = "vectorize";
Expand Down

0 comments on commit c28b5d3

Please sign in to comment.