DSPy: The framework for programming—not prompting—language models
Python
feat(dspy): added SnowflakeRM retriever and cleanup of Snowflake (LM) support
alejandrof42df77df10b
diff --git a/dsp/modules/snowflake.py b/dsp/modules/snowflakecortex.pysimilarity index 99%rename from dsp/modules/snowflake.pyrename to dsp/modules/snowflakecortex.pyindex 3cc7c4aa5..2eb6b204c 100644--- a/dsp/modules/snowflake.py+++ b/dsp/modules/snowflakecortex.py@@ -31,7 +31,7 @@ def giveup_hdlr(details) -> bool:return True-class Snowflake(LM):+class SnowflakeCortex(LM):"""Wrapper around Snowflake's CortexAPI.Currently supported models include 'mistral-large','reka-flash','mixtral-8x7b',diff --git a/dspy/__init__.py b/dspy/__init__.pyindex be397521d..0a1ada311 100644--- a/dspy/__init__.py+++ b/dspy/__init__.py@@ -25,7 +25,7 @@ Clarifai = dsp.ClarifaiLLMGoogle = dsp.GoogleGoogleVertexAI = dsp.GoogleVertexAIGROQ = dsp.GroqLM-Snowflake = dsp.Snowflake+SnowflakeCortex = dsp.SnowflakeCortexHFClientTGI = dsp.HFClientTGIHFClientVLLM = HFClientVLLM