Skip to content

armgit / txtai

Public Imported from GitHub
0

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

Limit GLiNER to ignore latest release, closes #984

davidmezzettid3a521715327
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 83cca9a0..a720eae8 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -54,7 +54,6 @@ jobs:
- name: Build
run: |
pip install -U wheel
- pip install gliner==0.2.21
pip install .[all,dev]
pip cache purge
python -c "import nltk; nltk.download(['punkt', 'punkt_tab', 'averaged_perceptron_tagger_eng'])"
diff --git a/setup.py b/setup.py
index 5f3d9756..4df031ac 100644
--- a/setup.py
+++ b/setup.py
@@ -77,7 +77,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"] = ["gliner>=0.2.16", "sentencepiece>=0.1.91", "staticvectors>=0.2.0"]
+extras["pipeline-text"] = ["gliner>=0.2.16,<=0.2.21", "sentencepiece>=0.1.91", "staticvectors>=0.2.0"]
extras["pipeline-train"] = [
"accelerate>=0.26.0",