How To: Upload Evaluation Key
The Evaluation Key (EVK) enables efficient low-latency interactions with a specific AI model. To upload this key, you’ll need a User Access Token provided by the customer for the specific AI model.
This process consists of two parts: generating a key pair (secret and evaluation keys) and publishing the EVK to Lattica’s backend.
Overview of the Process
Generate Key Pair:
A Secret Key is generated and remains securely in the Query Client. Only the end-user has access to this key, which is later used for encrypting and decrypting messages.
An Evaluation Key (EVK) is also generated. This key is used during query processing for validation and secure computations.
Use the following code snippet to upload an Evaluation Key.
Ensure you have the User Access Token ready, as this token specifies the AI model for which the secret and evaluation keys will be generated.
Parameters
JWT Access Token: A unique identifier created by the AI Provider.
Last updated
Was this helpful?