Skip to content

A programming framework for agentic AI

Update RetrieveChat extra dependencies (#2449)

Li Jiangb7366b570fac
diff --git a/setup.py b/setup.py
index cea36b705..674df2738 100644
--- a/setup.py
+++ b/setup.py
@@ -35,6 +35,8 @@ jupyter_executor = [
"ipykernel>=6.29.0",
]
+rag = ["sentence_transformers", "pypdf", "ipython", "beautifulsoup4", "markdownify"]
+
setuptools.setup(
name="pyautogen",
version=__version__,
@@ -59,24 +61,9 @@ setuptools.setup(
],
"blendsearch": ["flaml[blendsearch]"],
"mathchat": ["sympy", "pydantic==1.10.9", "wolframalpha"],
- "retrievechat": ["chromadb", "sentence_transformers", "pypdf", "ipython", "beautifulsoup4", "markdownify"],
- "retrievechat-pgvector": [
- "pgvector>=0.2.5",
- "psycopg>=3.1.18",
- "sentence_transformers",
- "pypdf",
- "ipython",
- "beautifulsoup4",
- "markdownify",
- ],
- "retrievechat-qdrant": [
- "qdrant_client[fastembed]",
- "sentence_transformers",
- "pypdf",
- "ipython",
- "beautifulsoup4",
- "markdownify",
- ],
+ "retrievechat": ["chromadb"] + rag,
+ "retrievechat-pgvector": ["pgvector>=0.2.5", "psycopg>=3.1.18"] + rag,
+ "retrievechat-qdrant": ["qdrant_client[fastembed]"] + rag,
"autobuild": ["chromadb", "sentence-transformers", "huggingface-hub"],
"teachable": ["chromadb"],
"lmm": ["replicate", "pillow"],