Skip to content

Commit

Permalink
[DH-4996] Fix script to populate vector store
Browse files Browse the repository at this point in the history
  • Loading branch information
jcjc712 committed Nov 13, 2023
1 parent f37743f commit 451ae16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dataherald/scripts/delete_and_populate_golden_records.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@
question = golden_record["question"]
vector_store.add_record(
documents=question,
db_connection_id=golden_record["db_connection_id"],
db_connection_id=str(golden_record["db_connection_id"]),
collection=golden_record_collection,
metadata=[
{
"tables_used": tables[0],
"db_connection_id": golden_record["db_connection_id"],
"db_connection_id": str(golden_record["db_connection_id"]),
}
],
ids=[str(golden_record["_id"])],
Expand Down

0 comments on commit 451ae16

Please sign in to comment.