README.md

April 23, 2025 ยท View on GitHub

Go client for txtai

Version GitHub Release Date GitHub Issues GitHub Last Commit

txtai is an all-in-one AI framework for semantic search, LLM orchestration and language model workflows.

This repository contains Go bindings for the txtai API.

Installation

txtai.go can be installed as follows:

go get -u github.com/neuml/txtai.go

Alternatively, adding the following import within a module will also download txtai.go

import "github.com/neuml/txtai.go"

Examples

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

ExampleDescription
Introducing txtaiOverview of the functionality provided by txtai
Extractive QA with txtaiExtractive question-answering with txtai
Labeling with zero-shot classificationLabeling with zero-shot classification
Pipelines and workflowsPipelines and workflows

txtai.go 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.go
cd txtai.go/examples
make embeddings|extractor|labels|pipelines