Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Run with Docker

You can locally deploy the open-source Epsilla vector database by using its Docker image.

1. Installation

To run the pre-built Epsilla docker image on your machine, make sure Docker is installed on your system. Then download image from Dockerhub.

docker pull epsilla/vectordb

Start the docker as the backend service

docker run --pull=always -d -p 8888:8888 epsilla/vectordb

Your Epsilla service is up and running. You can use REST API to interact with Epsilla, or install a Python/JavaScript client.

pip3 install --upgrade pyepsilla
npm install epsillajs

2. Connect to Epsilla server

from pyepsilla import vectordb

## connect to vectordb
db = vectordb.Client(
  host='localhost',
  port='8888'
)
const epsillajs = require('epsillajs');

// connect to vectordb
const db = new epsillajs.EpsillaDB({
  host: 'localhost',
  port: 9999
});
curl -X GET "http://localhost:8888"

Response

Welcome to Epsilla VectorDB.

Hint: if you are connecting to a secure server, use protocol parameter:

db = vectordb.Client(
  protocol='https',
  host=...
)
const db = new epsillajs.EpsillaDB({
    protocol: 'https',
    host: ...
});

3. Create or load a database

Response:

4. Create a table

Response:

5. Insert new records

You can insert multiple records in a batch.

Response:

Output

Output:

Response:

7. Drop a table

Response:

5. Unload a database

Offload a database that is not in use to release memory (the database files are still on disk).

Response:

Next steps​

Epsilla is designed to be simple enough to get started. Refer to Vector Database for more flexibility and options on each API.

We are tirelessly working to enhance Epsilla with more features. Please consult our Roadmap to glimpse into the future developments.

Last updated