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.
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.
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
Clone the Caiss repository and change into its directory.
Run ./caiss-linux-env.sh to install the documented Linux runtime environment.
Run cmake . and then make.
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.
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
Install the listed Python environment and dependencies.
Prepare the input text file, placing each word or text item on its own line.
In pyCaissTrainDataBuilder.py, set the input text path and BERT model path.
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.
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

