Skip to content

armgit / txtai

Public Imported from GitHub
0

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

Updated README and changed setup to use pymagnitude-lite

davidmezzetti569d3560b80e
diff --git a/README.md b/README.md
index 920cd375..f4762664 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,11 @@ txtai is built on the following stack:
- Python 3.6+
## Installation
-You can install txtai directly from GitHub using pip. Using a Python Virtual Environment is recommended.
+The easiest way to install is via pip and PyPI
+
+ pip install txtai
+
+You can also install txtai directly from GitHub using pip. Using a Python Virtual Environment is recommended.
pip install git+https://github.com/neuml/txtai
@@ -45,5 +49,5 @@ The examples directory has a series of examples and notebooks giving an overview
|:----------|:-------------|------:|
| [Introducing txtai](https://github.com/neuml/txtai/blob/master/examples/01_Introducing_txtai.ipynb) | Overview of the functionality provided by txtai |[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/neuml/txtai/blob/master/examples/01_Introducing_txtai.ipynb) |
| [Extractive QA with txtai](https://github.com/neuml/txtai/blob/master/examples/02_Extractive_QA_with_txtai) | Extractive question-answering with txtai |[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/neuml/txtai/blob/master/examples/02_Extractive_QA_with_txtai.ipynb) |
-| [Build an Embeddings index from a data source](https://github.com/neuml/txtai/blob/master/examples/03_Build_an_Embeddings_index_from_a_data_source.ipynb) | Embeddings index from a data source backed by word embeddings |[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/neuml/txtai/blob/master/examples/03_Build_an_Embeddings_index_from_a_data_source) |
+| [Build an Embeddings index from a data source](https://github.com/neuml/txtai/blob/master/examples/03_Build_an_Embeddings_index_from_a_data_source.ipynb) | Embeddings index from a data source backed by word embeddings |[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/neuml/txtai/blob/master/examples/03_Build_an_Embeddings_index_from_a_data_source.ipynb) |
| [Extractive QA with Elasticsearch](https://github.com/neuml/txtai/blob/master/examples/04_Extractive_QA_with_Elasticsearch.ipynb) | Extractive question-answering with Elasticsearch |[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/neuml/txtai/blob/master/examples/04_Extractive_QA_with_Elasticsearch.ipynb) |
diff --git a/setup.py b/setup.py
index cef4d985..f5257215 100644
--- a/setup.py
+++ b/setup.py
@@ -26,7 +26,7 @@ setup(name="txtai",
"fasttext>=0.9.2",
"nltk>=3.5",
"numpy>=1.18.4",
- "pymagnitude @ git+https://github.com/neuml/magnitude",
+ "pymagnitude-lite>=0.1.43",
"regex>=2020.5.14",
"scikit-learn>=0.23.1",
"torch>=1.4.0",