Skip to main content

AI-powered search engine

Project description

txtai: AI-powered search engine

txtai builds an AI-powered index over sections of text. txtai supports building text indices to perform similarity searches and create extractive question-answering based systems.

demo

NeuML uses txtai and/or the concepts behind it to power all of our Natural Language Processing (NLP) applications. Example applications:

  • cord19q - COVID-19 literature analysis
  • paperai - AI-powered literature discovery and review engine for medical/scientific papers
  • neuspo - a fact-driven, real-time sports event and news site
  • codequestion - Ask coding questions directly from the terminal

txtai is built on the following stack:

Installation

The easiest way to install is via pip and PyPI

pip install txtai

You can also install txtai directly from GitHub. Using a Python Virtual Environment is recommended.

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

Python 3.6+ is supported

Notes for Windows

This project has dependencies that require compiling native code. Linux enviroments usually work without an issue. Windows requires the following extra steps.

Examples

The examples directory has a series of examples and notebooks giving an overview of txtai. See the list of notebooks below.

Notebooks

Notebook Description
Introducing txtai Overview of the functionality provided by txtai Open In Colab
Extractive QA with txtai Extractive question-answering with txtai Open In Colab
Build an Embeddings index from a data source Embeddings index from a data source backed by word embeddings Open In Colab
Extractive QA with Elasticsearch Extractive question-answering with Elasticsearch Open In Colab

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

txtai-1.0.0.tar.gz (13.4 kB view hashes)

Uploaded Source

Built Distribution

txtai-1.0.0-py3-none-any.whl (17.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page