Query Client
Last updated
Was this helpful?
Last updated
Was this helpful?
LatticaAI offers a TypeScript SDK for queries within web environments and a Python SDK for integrating secure query capabilities in native applications. We also maintain a , containing the core Fully Homomorphic Encryption (FHE) logic, which covers key generation, encryption, and decryption.
The Query Client process consists of three stages:
Once the environment is ready, generate a pair of cryptographic keys—an evaluation key and a secret key.
The secret key protects all future interactions with the AI model, securing your data every step of the way.
The evaluation key is public and accelerates the computation of these interactions to reduce latency.
This key generation is a one-time process and doesn't need to be repeated for each query.