OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Data & Analytics

Caiss

Caiss is a C++ similarity retrieval engine for high-dimensional vectors, words and sentences. It provides configurable training, common and custom distance functions, batch queries, caching, multithreaded calls, SDKs and basic SQL-style CRUD operations.

Independent OpenViST project profile, based on linked sources.

Caiss — C++ projects that need vector or text similarity retrieval
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Consider Caiss when an application needs a similarity retrieval component with configurable training, distance choices and SDK access. The web demonstration is suited to a quick, limited exploration of English-word semantic similarity.

Who it is for

  • Developers building vector or text similarity search into applications.
  • Teams that need configurable retrieval training and distance functions.
  • Python, Java or C# developers seeking a documented SDK route to a C++ retrieval engine.

Documented uses

  • Train a retrieval model against a target precision using prepared vector data.
  • Search for similar vectors, words or sentences, including batch queries.
  • Manage similarity-search data with basic SQL-style create, read, update and delete operations.
  • Integrate retrieval into Python, Java or C# applications through the named SDK versions.
Before you choose

Requirements & limits

  • The core engine is C++; the repository also names Python, Java and C# SDK versions.
  • The documented build uses CMake. Its Linux example uses an environment setup script; the CLion instructions require setting Boost and Eigen library paths.
  • The Docker instructions describe a container and Python demo workflow but do not specify deployment configuration.
  • Text embedding preparation requires a BERT model and a separate Python dependency set.
  • The web demonstration is limited to English-word semantic similarity; multiple terms are separated with a vertical bar.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Compile and run the Linux C++ demo

Follow the repository's documented Ubuntu-oriented workflow to compile Caiss and open its C++ demo.

Before you start

  • A Linux environment; the documentation's example uses Ubuntu.
  • Git, CMake and make, and the repository's Linux setup script.

Steps

  1. Clone the Caiss repository and change into its directory.

  2. Run ./caiss-linux-env.sh to install the documented Linux runtime environment.

  3. Run cmake . and then make.

  4. Change into caissDemo/ and run ./CaissDemo.

Expected outcome

The repository says the demo displays the C++ version's results.

Guide limitations

  • The example is for Linux, with Ubuntu given as the environment.
  • The README describes this workflow but does not provide a compatibility guarantee for other systems.
Source-based practical guide

Prepare text data for Caiss training

Generate the documented training text from an input text file using a local BERT model.

Before you start

  • Python 3.
  • TensorFlow, Keras, keras-bert, NumPy and pprint.
  • A downloaded and unpacked BERT model, plus a text file with one item per line.

Steps

  1. Install the listed Python environment and dependencies.

  2. Prepare the input text file, placing each word or text item on its own line.

  3. In pyCaissTrainDataBuilder.py, set the input text path and BERT model path.

  4. Run the script's __main__ method and use the generated file at result_path as Caiss training input.

Expected outcome

The script produces text containing each input item and its embedding vector, in the format expected for Caiss training.

Guide limitations

  • The guide covers preparing training data, not running the subsequent Caiss training or query workflow.
  • The BERT model must be obtained separately.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
11 November 2026
Original website title
ChunelFeng/caiss · Official homepage title · retained in its source language