Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
v2.3.45
Browse files Browse the repository at this point in the history
  • Loading branch information
ashpreetbedi committed Feb 27, 2024
1 parent 4818bb7 commit ccaf8fc
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion app/pages/1_PDF_Assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def main() -> None:

if pdf_assistant.knowledge_base:
if st.sidebar.button("Update Knowledge Base"):
pdf_assistant.knowledge_base.load(recreate=False)
pdf_assistant.knowledge_base.load(recreate=False, upsert=True)
st.session_state["pdf_knowledge_base_loaded"] = True
st.sidebar.success("Knowledge base updated")

Expand Down
2 changes: 1 addition & 1 deletion app/pages/3_Website_Assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def main() -> None:

if website_assistant.knowledge_base:
if st.sidebar.button("Update Knowledge Base"):
website_assistant.knowledge_base.load(recreate=False)
website_assistant.knowledge_base.load(recreate=False, upsert=True)
st.session_state["knowledge_base_exists"] = True
st.sidebar.success("Knowledge base updated")

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependencies = [
# Linting and Formatting
"ruff",
# phidata
"phidata==2.3.36",
"phidata==2.3.45",
]

[build-system]
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ openai==1.11.0
packaging==23.2
pandas==2.2.0
pgvector==0.2.4
phidata==2.3.36
phidata==2.3.45
pillow==10.2.0
protobuf==4.25.2
psycopg[binary]==3.1.17
Expand Down
4 changes: 2 additions & 2 deletions workspace/prd_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@
engine_version="16.1",
allocated_storage=64,
# NOTE: For production, use a larger instance type.
# Last checked price: $0.0650 hourly = ~$50 per month
db_instance_class="db.t4g.medium",
# Last checked price: ~$25 per month
db_instance_class="db.t4g.small",
db_security_groups=[prd_db_sg],
db_subnet_group=prd_db_subnet_group,
availability_zone=ws_settings.aws_az1,
Expand Down

0 comments on commit ccaf8fc

Please sign in to comment.