• Stars
    star
    122
  • Rank 290,972 (Top 6 %)
  • Language
    JavaScript
  • License
    Apache License 2.0
  • Created almost 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Semantic search and workflows in JavaScript

txtai: Semantic search and workflows in JavaScript

Version GitHub Release Date GitHub issues GitHub last commit

txtai is an open-source platform for semantic search and workflows powered by language models.

This repository contains JavaScript bindings for the txtai API. Full txtai functionality is supported.

Installation

txtai.js can be installed via npm

npm install txtai

Examples

The examples directory has a series of examples that give an overview of txtai. See the list of examples below.

Example Description
Introducing txtai Overview of the functionality provided by txtai
Extractive QA with txtai Extractive question-answering with txtai
Labeling with zero-shot classification Labeling with zero-shot classification
Pipelines and workflows Pipelines and workflows

txtai.js connects to a txtai api instance. See this link for details on how to start a new api instance.

Once an api instance is running, do the following to run the examples.

git clone https://github.com/neuml/txtai.js
cd txtai.js/examples/node
npm install
npm run build
node dist/embeddings.js
node dist/extractor.js
node dist/labels.js
node dist/pipelines.js