Skip to content

armgit / dspy

Public Imported from GitHub
0

DSPy: The framework for programming—not prompting—language models

Python

Update pyproject.toml

Connor Shortenfc62d608f54f
diff --git a/pyproject.toml b/pyproject.toml
index 878601f55..4f29d0af6 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -20,7 +20,6 @@ classifiers = [
]
# We have both project and tool.poetry.dependencies. Should we remove one?
dependencies = [
- "anthropic~=0.18.0",
"backoff~=2.2.1",
"joblib~=1.3.2",
"openai>=0.28.1,<2.0.0",
@@ -35,6 +34,7 @@ dependencies = [
]
[project.optional-dependencies]
+anthropic = ["anthropic~=0.18.0"],
chromadb = ["chromadb~=0.4.14"]
qdrant = ["qdrant-client~=1.6.2", "fastembed~=0.1.0"]
marqo = ["marqo"]
@@ -75,7 +75,6 @@ keywords = ["dspy", "ai", "language models", "llm", "openai"]
[tool.poetry.dependencies]
python = ">=3.9,<3.12"
pydantic = "2.5.0"
-anthropic = "^0.18.0"
backoff = "^2.2.1"
joblib = "^1.3.2"
openai = "^0.28.1"
@@ -86,6 +85,7 @@ tqdm = "^4.66.1"
datasets = "^2.14.6"
requests = "^2.31.0"
optuna = "^3.4.0"
+anthropic = { version = "^0.18.0", optional = true }
chromadb = { version = "^0.4.14", optional = true }
fastembed = { version = "^0.1.0", optional = true }
marqo = { version = "*", optional = true }