Files
txtai/docs/usecases.md
T

7.0 KiB

Use Cases

The following sections give an overview of the main txtai use cases. A comprehensive set of over 50 example notebooks and applications are also available.

Build semantic/similarity/vector/neural search applications.

demo

Traditional search systems use keywords to find data. Semantic search has an understanding of natural language and identifies results that have the same meaning, not necessarily the same keywords.

search search

Get started with the following examples.

Notebook Description
Introducing txtai ▶️ Overview of the functionality provided by txtai Open In Colab
Build an Embeddings index with Hugging Face Datasets Index and search Hugging Face Datasets Open In Colab
Add semantic search to Elasticsearch Add semantic search to existing search systems Open In Colab
Semantic Graphs Explore topics, data connectivity and run network analysis Open In Colab
Embeddings in the Cloud Load and use an embeddings index from the Hugging Face Hub Open In Colab
Customize your own embeddings database Ways to combine vector indexes with relational databases Open In Colab

LLM Orchestration

Prompt-driven search, retrieval augmented generation (RAG), pipelines and workflows that interface with large language models (LLMs).

llm

Integrate conversational search, LLM chains and self-critique.

Notebook Description
Prompt-driven search with LLMs Embeddings-guided and Prompt-driven search with Large Language Models (LLMs) Open In Colab
Prompt templates and task chains Build model prompts and connect tasks together with workflows Open In Colab

Language Model Workflows

Language model workflows, also known as semantic workflows, connect language models together to build intelligent applications.

flows flows

While LLMs are powerful, there are plenty of smaller, more specialized models that work better and faster for specific tasks. This includes models for extractive question-answering, automatic summarization, text-to-speech, transcription and translation.

Notebook Description
Run pipeline workflows ▶️ Simple yet powerful constructs to efficiently process data Open In Colab
Extractive QA with txtai Introduction to extractive question-answering with txtai Open In Colab
Building abstractive text summaries Run abstractive text summarization Open In Colab
Text to speech generation Generate speech from text Open In Colab
Transcribe audio to text Convert audio files to text Open In Colab
Translate text between languages Streamline machine translation and language detection Open In Colab