Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmezzetti committed Feb 25, 2022
1 parent 367076d commit dbaa27a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 25 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,7 @@ The easiest way to install is via pip and PyPI
Python 3.7+ is supported. Using a Python [virtual environment](https://docs.python.org/3/library/venv.html) is recommended.

See the detailed [install instructions](https://neuml.github.io/txtai/install) for more information covering
[installing from source](https://neuml.github.io/txtai/install/#install-from-source),
[environment specific prerequisites](https://neuml.github.io/txtai/install/#environment-specific-prerequisites) and
[optional dependencies](https://neuml.github.io/txtai/install/#optional-dependencies).
[optional dependencies](https://neuml.github.io/txtai/install/#optional-dependencies), [environment specific prerequisites](https://neuml.github.io/txtai/install/#environment-specific-prerequisites), [installing from source](https://neuml.github.io/txtai/install/#install-from-source) and how to [run with containers](https://neuml.github.io/txtai/cloud).

## Examples

Expand Down
48 changes: 26 additions & 22 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,28 +9,6 @@ The easiest way to install is via pip and PyPI

Python 3.7+ is supported. Using a Python [virtual environment](https://docs.python.org/3/library/venv.html) is recommended.

## Install from source

txtai can also be installed directly from GitHub to access the latest, unreleased features.

pip install git+https://github.com/neuml/txtai

## Environment specific prerequisites

Additional environment specific prerequisites are below.

### Linux

Optional audio transcription requires a [system library to be installed](https://github.com/bastibe/python-soundfile#installation)

### macOS

Run `brew install libomp` see [this link](https://github.com/kyamagu/faiss-wheels#prerequisite)

### Windows

Optional dependencies require [C++ Build Tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/)

## Optional dependencies

txtai has the following optional dependencies that can be installed as extras. The patterns below are supported
Expand Down Expand Up @@ -105,3 +83,29 @@ Multiple dependencies can be specified at the same time.
```
pip install txtai[pipeline,workflow]
```

## Environment specific prerequisites

Additional environment specific prerequisites are below.

### Linux

Optional audio transcription requires a [system library to be installed](https://github.com/bastibe/python-soundfile#installation)

### macOS

Run `brew install libomp` see [this link](https://github.com/kyamagu/faiss-wheels#prerequisite)

### Windows

Optional dependencies require [C++ Build Tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/)

## Install from source

txtai can also be installed directly from GitHub to access the latest, unreleased features.

pip install git+https://github.com/neuml/txtai

## Run with containers

Docker images are available for txtai. [See this section](../cloud) for more information on container-based installs.

0 comments on commit dbaa27a

Please sign in to comment.