All Projects → neuml → txtai.java

neuml / txtai.java

Licence: Apache-2.0 license
Build AI-powered semantic search applications in Java

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to txtai.java

txtai.rs
Build AI-powered semantic search applications in Rust
Stars: ✭ 73 (+231.82%)
Mutual labels:  txtai
txtai.go
Build AI-powered semantic search applications in Go
Stars: ✭ 50 (+127.27%)
Mutual labels:  txtai

txtai: Build AI-powered semantic search applications in Java

Version GitHub Release Date GitHub issues GitHub last commit

txtai executes machine-learning workflows to transform data and build AI-powered semantic search applications.

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

Installation

Jitpack is the recommended way to integrate txtai with Java. See this link for how to install JitPack.

The following is an example adding txtai to a project's build.gradle file. The same attributes can be ported to other build systems per the JitPack link above.

implementation 'com.github.neuml:txtai.java:v4.6.0'

txtai can also be manually built from GitHub.

git clone https://github.com/neuml/txtai.java
cd txtai.java
./gradlew jar

The JAR will be available in ./build/libs

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.java 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.java
cd txtai.java/examples
../gradlew embeddings|extractor|labels|pipelines
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].