Skip to content

Commit

Permalink
DH-5337/updating the golden sqls colleciton name
Browse files Browse the repository at this point in the history
  • Loading branch information
MohammadrezaPourreza committed Apr 4, 2024
1 parent 39bef01 commit 1755cbb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dataherald/context_store/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def __init__(self, system: System):
self.system = system
self.db = self.system.instance(DB)
self.golden_sql_collection = os.environ.get(
"GOLDEN_SQL_COLLECTION", "dataherald-staging"
"GOLDEN_SQL_COLLECTION", "ai-stage"
)
self.vector_store = self.system.instance(VectorStore)

Expand Down
2 changes: 1 addition & 1 deletion dataherald/scripts/delete_and_populate_golden_records.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
system.start()
storage = system.instance(DB)
golden_sql_collection = os.environ.get(
"GOLDEN_SQL_COLLECTION", "dataherald-staging"
"GOLDEN_SQL_COLLECTION", "ai-stage"
)

golden_sqls = storage.find_all("golden_sqls")
Expand Down
2 changes: 1 addition & 1 deletion dataherald/scripts/migrate_v001_to_v002.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def add_db_connection_id(collection_name: str, storage) -> None:
add_db_connection_id("nl_question", storage)
# Refresh vector stores
golden_record_collection = os.environ.get(
"GOLDEN_SQL_COLLECTION", "dataherald-staging"
"GOLDEN_SQL_COLLECTION", "ai-stage"
)
vector_store = system.instance(VectorStore)
try:
Expand Down
2 changes: 1 addition & 1 deletion dataherald/scripts/migrate_v006_to_v100.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def update_object_id_fields(field_name: str, collection_name: str):
storage = system.instance(DB)
# Refresh vector stores
golden_sql_collection = os.environ.get(
"GOLDEN_RECORD_COLLECTION", "dataherald-staging"
"GOLDEN_RECORD_COLLECTION", "ai-stage"
)
vector_store = system.instance(VectorStore)

Expand Down

0 comments on commit 1755cbb

Please sign in to comment.