This handler processes chat completion requests in a confidential manner, providing additional encryption and security measures for sensitive data processing. It supports both streaming and non-streaming responses while maintaining data confidentiality through AEAD encryption and TEE hardware, for full private AI compute.
Returns a Result
containing either:
AtomaProxyError
error if the request processing failsReturns AtomaProxyError::InvalidBody
if:
Returns AtomaProxyError::InternalError
if:
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
A request for confidential computation that includes encrypted data and associated cryptographic parameters
Confidential chat completions
Represents a response from a confidential compute request