Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

refactor(dspy): added premai integration in __init__ files

Anindyadeep74944b33bac1
diff --git a/dsp/modules/__init__.py b/dsp/modules/__init__.py
index 829fd655b..0b624965f 100644
--- a/dsp/modules/__init__.py
+++ b/dsp/modules/__init__.py
@@ -19,6 +19,7 @@ from .hf import HFModel
from .hf_client import Anyscale, HFClientTGI, Together
from .mistral import *
from .ollama import *
+from .premai import PremAI
from .pyserini import *
from .sbert import *
from .sentence_vectorizer import *
diff --git a/dspy/__init__.py b/dspy/__init__.py
index 957e4755d..4ed6dbaa5 100644
--- a/dspy/__init__.py
+++ b/dspy/__init__.py
@@ -43,6 +43,7 @@ AWSAnthropic = dsp.AWSAnthropic
AWSMeta = dsp.AWSMeta
Watsonx = dsp.Watsonx
+PremAI = dsp.PremAI
configure = settings.configure
context = settings.context