tenseleyflow/documentlanguagemodel / 0e4e99c

Browse files

Add openai and anthropic optional extras for synth teachers

Authored by mfwolffe <wolffemf@dukes.jmu.edu>
SHA
0e4e99c26ca18904464e80c6db4db794aa4d0143
Parents
5ee947d
Tree
59dafb5

1 changed file

StatusFile+-
M pyproject.toml 9 0
pyproject.tomlmodified
@@ -76,6 +76,15 @@ audio = [
7676
     "soundfile>=0.12",
7777
     "soxr>=0.3",
7878
 ]
79
+# Sprint 43 synth teachers. API clients are optional — `dlm synth`
80
+# works with `self` and `hf:` teachers without these. Install via
81
+# `pip install dlm[openai]` or `pip install dlm[anthropic]`.
82
+openai = [
83
+    "openai>=1.0",
84
+]
85
+anthropic = [
86
+    "anthropic>=0.30",
87
+]
7988
 
8089
 [project.scripts]
8190
 dlm = "dlm.cli.app:main"