From 5a76df3ee3fe82bb43b7a4ff9808f63256c54665 Mon Sep 17 00:00:00 2001 From: Ashpreet Bedi Date: Wed, 22 May 2024 21:46:26 -0700 Subject: [PATCH] v2.4.14 --- ai/settings.py | 5 +-- pyproject.toml | 4 +- requirements.txt | 99 +++++++++++++++++++++++++++--------------------- 3 files changed, 61 insertions(+), 47 deletions(-) diff --git a/ai/settings.py b/ai/settings.py index 82f9045..7f13847 100644 --- a/ai/settings.py +++ b/ai/settings.py @@ -7,9 +7,8 @@ class AISettings(BaseSettings): Reference: https://pydantic-docs.helpmanual.io/usage/settings/ """ - gpt_4: str = "gpt-4-1106-preview" - gpt_4_vision: str = "gpt-4-vision-preview" - gpt_3_5: str = "gpt-3.5-turbo-1106" + gpt_4: str = "gpt-4o" + gpt_4_vision: str = "gpt-4o" embedding_model: str = "text-embedding-3-small" default_max_tokens: int = 1024 default_temperature: float = 0 diff --git a/pyproject.toml b/pyproject.toml index 1ed86ce..ff0680a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,7 +28,9 @@ dependencies = [ # Linting and Formatting "ruff", # phidata - "phidata==2.3.45", + "phidata[aws]==2.4.14", + # pin requests to < 2.32 as it breaks docker + "requests<2.32.0" ] [build-system] diff --git a/requirements.txt b/requirements.txt index 5fee93a..a10f372 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,69 +1,82 @@ # -# This file is autogenerated by pip-compile with Python 3.11 +# This file is autogenerated by pip-compile with Python 3.9 # by the following command: # -# ./scripts/upgrade.sh +# ./scripts/upgrade.sh all # alembic==1.13.1 -annotated-types==0.6.0 -anyio==4.2.0 +annotated-types==0.7.0 +anyio==4.3.0 beautifulsoup4==4.12.3 -boto3==1.34.34 -botocore==1.34.34 +boto3==1.34.111 +botocore==1.34.111 certifi==2024.2.2 charset-normalizer==3.3.2 click==8.1.7 distro==1.9.0 +dnspython==2.6.1 docker==7.0.0 -fastapi==0.109.1 +email-validator==2.1.1 +exceptiongroup==1.2.1 +fastapi==0.111.0 +fastapi-cli==0.0.4 gitdb==4.0.11 -gitpython==3.1.41 +gitpython==3.1.43 h11==0.14.0 -httpcore==1.0.2 -httpx==0.26.0 -idna==3.6 +httpcore==1.0.5 +httptools==0.6.1 +httpx==0.27.0 +idna==3.7 iniconfig==2.0.0 +jinja2==3.1.4 jmespath==1.0.1 -mako==1.3.2 +mako==1.3.5 markdown-it-py==3.0.0 markupsafe==2.1.5 mdurl==0.1.2 -mypy==1.8.0 +mypy==1.10.0 mypy-extensions==1.0.0 -numpy==1.26.3 -openai==1.11.0 -packaging==23.2 -pgvector==0.2.4 -phidata==2.3.45 -pluggy==1.4.0 -psycopg[binary]==3.1.17 -psycopg-binary==3.1.17 -pydantic==2.6.0 -pydantic-core==2.16.1 -pydantic-settings==2.1.0 -pygments==2.17.2 -pypdf==4.0.1 -pytest==8.0.0 -python-dateutil==2.8.2 +numpy==1.26.4 +openai==1.30.1 +orjson==3.10.3 +packaging==24.0 +pgvector==0.2.5 +phidata[aws]==2.4.14 +pluggy==1.5.0 +psycopg[binary]==3.1.18 +psycopg-binary==3.1.18 +pydantic==2.7.1 +pydantic-core==2.18.2 +pydantic-settings==2.2.1 +pygments==2.18.0 +pypdf==4.2.0 +pytest==8.2.1 +python-dateutil==2.9.0.post0 python-dotenv==1.0.1 +python-multipart==0.0.9 pyyaml==6.0.1 -regex==2023.12.25 +regex==2024.5.15 requests==2.31.0 -rich==13.7.0 -ruff==0.2.0 -s3transfer==0.10.0 +rich==13.7.1 +ruff==0.4.5 +s3transfer==0.10.1 +shellingham==1.5.4 six==1.16.0 smmap==5.0.1 -sniffio==1.3.0 +sniffio==1.3.1 soupsieve==2.5 -sqlalchemy==2.0.25 -starlette==0.35.1 -tiktoken==0.5.2 +sqlalchemy==2.0.30 +starlette==0.37.2 +tiktoken==0.7.0 tomli==2.0.1 -tqdm==4.66.1 -typer==0.9.0 -types-beautifulsoup4==4.12.0.20240106 -types-html5lib==1.1.11.20240106 -typing-extensions==4.9.0 -urllib3==2.0.7 -uvicorn==0.27.0.post1 +tqdm==4.66.4 +typer==0.12.3 +types-beautifulsoup4==4.12.0.20240511 +types-html5lib==1.1.11.20240228 +typing-extensions==4.11.0 +ujson==5.10.0 +urllib3==1.26.18 +uvicorn[standard]==0.29.0 +uvloop==0.19.0 +watchfiles==0.21.0 +websockets==12.0