Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

feat(dspy): add dspy.Claude helper

Quin Hoxiebb88c795b7df
diff --git a/dspy/__init__.py b/dspy/__init__.py
index 62034403e..e07989ce0 100644
--- a/dspy/__init__.py
+++ b/dspy/__init__.py
@@ -5,10 +5,10 @@ from .predict import *
from .primitives import *
from .retrieve import *
from .signatures import *
+from .utils.logging import logger, set_log_output
# Functional must be imported after primitives, predict and signatures
from .functional import * # isort: skip
-from .utils.logging import logger, set_log_output
settings = dsp.settings
@@ -25,6 +25,7 @@ Clarifai = dsp.ClarifaiLLM
Google = dsp.Google
GoogleVertexAI = dsp.GoogleVertexAI
GROQ = dsp.GroqLM
+Claude = dsp.Claude
HFClientTGI = dsp.HFClientTGI
HFClientVLLM = HFClientVLLM