Skip to content

armgit / txtai

Public Imported from GitHub
0

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

Update build script

davidmezzetti12aa955b7730
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index fa20d839..d38db8c9 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -38,16 +38,12 @@ jobs:
echo "TIKA_STARTUP_SLEEP=30" >> $GITHUB_ENV
echo "TIKA_STARTUP_MAX_RETRY=10" >> $GITHUB_ENV
brew install portaudio
- pip install -U wheel
- pip install fasttext==0.9.2
if: matrix.os == 'macos-latest'
- name: Install dependencies - Windows
run: |
"PYTHONIOENCODING=utf-8" >> $env:GITHUB_ENV
choco install wget
- pip install -U wheel
- pip install fasttext==0.9.2
if: matrix.os == 'windows-latest'
- name: Build
diff --git a/setup.py b/setup.py
index 54c73c3c..5eb1f518 100644
--- a/setup.py
+++ b/setup.py
@@ -69,7 +69,7 @@ extras["pipeline-image"] = ["imagehash>=4.2.1", "pillow>=7.1.2", "timm>=0.4.12"]
extras["pipeline-llm"] = ["litellm>=1.37.16", "llama-cpp-python>=0.2.75"]
-extras["pipeline-text"] = ["fasttext>=0.9.2", "sentencepiece>=0.1.91"]
+extras["pipeline-text"] = ["fasttext-wheel>=0.9.2", "sentencepiece>=0.1.91"]
extras["pipeline-train"] = [
"accelerate>=0.26.0",
@@ -93,7 +93,7 @@ extras["pipeline"] = (
extras["scoring"] = ["sqlalchemy>=2.0.20"]
extras["vectors"] = [
- "fasttext>=0.9.2",
+ "fasttext-wheel>=0.9.2",
"litellm>=1.37.16",
"llama-cpp-python>=0.2.75",
"model2vec>=0.3.0",