|
|
|
|
|
by gavinuhma
1089 days ago
|
|
Good question! Uploaded documents get converted to embeddings within the Nitro Enclave (NE), and then the embeddings are encrypted with a key that only the NE has access to. When the search endpoint is called the encrypted embeddings are pulled into the NE and decrypted. They are then loaded into a vector db in-memory and the search is executed all within the NE. This adds some latency but it’s more secure because embeddings are only accessible to the enclave. In the case of chat history it is never stored by the API. The developer can develop their own client side. With CapeChat we keep chat history local on the device. |
|