mirror of
https://github.com/kennethreitz/instructor.git
synced 2026-06-05 22:50:18 +00:00
Add optional dependencies for anthropic and xmltodict (#519)
This commit is contained in:
+5
-3
@@ -17,10 +17,12 @@ typer = "^0.9.0"
|
||||
rich = "^13.7.0"
|
||||
aiohttp = "^3.9.1"
|
||||
tenacity = "^8.2.3"
|
||||
anthropic = { version = "^0.18.1", optional = true }
|
||||
xmltodict = { version = "^0.13.0", optional = true }
|
||||
|
||||
[tool.poetry.group.anthropic.dependencies]
|
||||
anthropic = "^0.18.1"
|
||||
xmltodict = "^0.13.0"
|
||||
|
||||
[tool.poetry.extras]
|
||||
anthropic = ["anthropic", "xmltodict"]
|
||||
|
||||
[tool.poetry.scripts]
|
||||
instructor = "instructor.cli.cli:app"
|
||||
|
||||
Reference in New Issue
Block a user