You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Adds the dependencies needed to install `faiss`, and builds `faiss` from source
89
+
-`core`
90
+
- Uses `faiss-base` as a base image
91
+
- Adds the code for the core index build functionalities: building an index and remote store I/O
92
+
-`api`
93
+
- Uses `core` as a base image
94
+
- Adds the code for a `fastAPI` server with `_build` and `_status` APIs
95
+
- The `_build` API triggers an index build workflow and returns a job id to the caller
96
+
- The `_status` API gets the status of the workflow, given a job id
97
+
- The index build workflow is executed in the background, using the `core` library functions
98
+
79
99
The Github CIs automatically publish snapshot images to Dockerhub at [opensearchstaging/remote-vector-index-builder](https://hub.docker.com/r/opensearchstaging/remote-vector-index-builder).
80
100
81
101
The following are the commands to build the images locally:
@@ -85,25 +105,38 @@ The [Faiss repository](https://github.com/facebookresearch/faiss/) is added as a
85
105
```
86
106
git submodule update --init
87
107
```
88
-
The Faiss base image can only be created on an NVIDIA GPU powered machine with CUDA Toolkit installed.
108
+
The `faiss-base` image can only be created on an NVIDIA GPU powered machine with CUDA Toolkit installed.
89
109
90
110
Please see the section [Provisioning an instance for development](#provisioning-an-instance-for-development) to provision an instance for development.
91
111
92
-
Run the below command to create the Faiss base image:
112
+
Run the below command to create the `faiss-base` image:
0 commit comments