Skip to content

Commit

Permalink
update api name
Browse files Browse the repository at this point in the history
  • Loading branch information
ChuckHend committed Feb 14, 2024
1 parent c4bc6bf commit 602626b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ fn transform_embeddings(

#[allow(clippy::too_many_arguments)]
#[pg_extern]
fn chat_table(
fn init_chat(
agent_name: &str,
table_name: &str,
unique_record_id: &str,
Expand Down
2 changes: 1 addition & 1 deletion tests/integration_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ async fn test_chat() {
println!("agent_name: {}", agent_name);
// initialize
let _ = sqlx::query(&format!(
"SELECT vectorize.chat_table(
"SELECT vectorize.init_chat(
agent_name => '{agent_name}',
table_name => '{test_table_name}',
unique_record_id => 'product_id',
Expand Down

0 comments on commit 602626b

Please sign in to comment.