Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Add MessagePack serialization as a top level dependency, closes #771

davidmezzettid30d2982a337
diff --git a/setup.py b/setup.py
index 230559e2..85c29eb4 100644
--- a/setup.py
+++ b/setup.py
@@ -6,7 +6,7 @@ with open("README.md", "r", encoding="utf-8") as f:
DESCRIPTION = "".join([line for line in f if "gh-dark-mode-only" not in line])
# Required dependencies
-install = ["faiss-cpu>=1.7.1.post2", "torch>=1.12.1", "transformers>=4.28.0"]
+install = ["faiss-cpu>=1.7.1.post2", "msgpack>=1.0.7", "torch>=1.12.1", "transformers>=4.28.0"]
# Required dependencies that are also transformers dependencies
install += ["huggingface-hub>=0.19.0", "numpy>=1.18.4", "pyyaml>=5.3", "regex>=2022.8.17"]
@@ -37,7 +37,6 @@ extras["ann"] = [
extras["api"] = [
"aiohttp>=3.8.1",
"fastapi>=0.94.0",
- "msgpack>=1.0.7",
"pillow>=7.1.2",
"python-multipart>=0.0.7",
"uvicorn>=0.12.1",
@@ -91,6 +90,7 @@ extras["vectors"] = [
"pymagnitude-lite>=0.1.43",
"scikit-learn>=0.23.1",
"sentence-transformers>=2.2.0",
+ "skops>=0.9.0",
]
extras["workflow"] = [