Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove numpy dependencies for LLMs extension #1570

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
249 changes: 133 additions & 116 deletions extensions/llms/bedrock/poetry.lock

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion extensions/llms/bedrock/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ readme = "README.md"
python = ">=3.8,<3.12"
pandasai = ">=3.0.0b4"
boto3 = "^1.34.0"
numpy = "1.23.2"

[tool.poetry.group.test]
optional = true
Expand Down
468 changes: 234 additions & 234 deletions extensions/llms/google/poetry.lock

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion extensions/llms/google/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ readme = "README.md"
python = ">=3.8,<3.12"
pandasai = ">=3.0.0b4"
google-cloud-aiplatform = "^1.36.4"
numpy = "1.23.2"

[tool.poetry.group.test]
optional = true
Expand Down
216 changes: 108 additions & 108 deletions extensions/llms/huggingface/poetry.lock

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion extensions/llms/huggingface/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ python = ">=3.8,<3.12"
pandasai = ">=3.0.0b4"
transformers = "^4.35.0"
torch = "^2.1.0"
numpy = "1.23.2"
text-generation = "^0.6.0"

[tool.poetry.group.test]
Expand Down
279 changes: 143 additions & 136 deletions extensions/llms/ibm/poetry.lock

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion extensions/llms/ibm/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ readme = "README.md"
python = ">=3.10,<3.12"
pandasai = ">=3.0.0b4"
ibm-watsonx-ai = "^1.1.0"
numpy = "1.23.2"

[tool.poetry.group.test]
optional = true
Expand Down
222 changes: 111 additions & 111 deletions extensions/llms/langchain/poetry.lock

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion extensions/llms/langchain/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ pandasai = ">=3.0.0b4"
langchain = "^0.1.0"
langchain-openai = "^0.1.0"
langchain-community = "^0.0.38,<0.1"
numpy = "1.23.2"

[tool.poetry.group.test]
optional = true
Expand Down
216 changes: 108 additions & 108 deletions extensions/llms/local/poetry.lock

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion extensions/llms/local/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ python = ">=3.8,<3.12"
pandasai = ">=3.0.0b4"
transformers = "^4.35.0"
torch = "^2.1.0"
numpy = "1.23.2"
openai = "^1.3.7"

[tool.poetry.group.test]
Expand Down
216 changes: 108 additions & 108 deletions extensions/llms/openai/poetry.lock

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion extensions/llms/openai/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ readme = "README.md"
python = ">=3.8,<3.12"
pandasai = ">=3.0.0b4"
openai = "^1.3.7"
numpy = "1.23.2"
typing-extensions = "^4.0.0"

[tool.poetry.group.test]
Expand Down
Loading