Skip to content

armgit / dspy

Public Imported from GitHub
0

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

Python

feat(dspy): added SnowflakeRM retriever and cleanup of Snowflake (LM) support

alejandrof2ce44fa02fb
diff --git a/pyproject.toml b/pyproject.toml
index 9a998a306..0b09881c6 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -118,6 +118,7 @@ rich = "^13.7.1"
psycopg2 = {version = "^2.9.9", optional = true}
pgvector = {version = "^0.2.5", optional = true}
structlog = "^24.1.0"
+snowflake-snowpark-python = { version = "*",optional=true}
[tool.poetry.group.dev.dependencies]
diff --git a/setup.py b/setup.py
index 7b2438131..bac100c6f 100644
--- a/setup.py
+++ b/setup.py
@@ -31,6 +31,7 @@ setup(
"faiss-cpu": ["sentence_transformers", "faiss-cpu"],
"milvus": ["pymilvus~=2.3.7"],
"google-vertex-ai": ["google-cloud-aiplatform==1.43.0"],
+ "snowflake" : ["snowflake-snowpark-python"]
},
classifiers=[
"Development Status :: 3 - Alpha",