diff --git a/pyproject.toml b/pyproject.toml index d49f2f8..c6cf4f7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -111,9 +111,9 @@ Issues = "https://github.com/Vanshcloud/Predictive-Maintenance-GenAI/issues" # pip install -e ".[google]" # Gemini # pip install -e ".[llm]" # both [project.optional-dependencies] -ollama = ["langchain-ollama>=0.1.0,<1.0.0"] -google = ["langchain-google-genai>=1.0.0,<3.0.0"] -llm = ["langchain-ollama>=0.1.0,<1.0.0", "langchain-google-genai>=1.0.0,<3.0.0"] +ollama = ["langchain-ollama>=0.1.0,<2.0.0"] +google = ["langchain-google-genai>=1.0.0,<5.0.0"] +llm = ["langchain-ollama>=0.1.0,<2.0.0", "langchain-google-genai>=1.0.0,<5.0.0"] # ---- Black (Code Formatter) ---- # WHY: Black enforces a consistent code style automatically. diff --git a/requirements.txt b/requirements.txt index d227d31..d026f9a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -25,10 +25,10 @@ scikit-learn>=1.3.0,<2.0.0 tensorflow>=2.15.0,<3.0.0 # --- Layer 3: GenAI / LangChain --- -langchain>=0.2.0,<1.0.0 -langchain-community>=0.2.0,<1.0.0 -langchain-openai>=0.1.0,<1.0.0 -openai>=1.0.0,<2.0.0 +langchain>=1.3.18,<2.0.0 +langchain-community>=0.4.2,<1.0.0 +langchain-openai>=1.6.0,<2.0.0 +openai>=3.6.0,<4.0.0 # --- Layer 4: API Framework --- fastapi>=0.110.0,<1.0.0