To expose AI services to our system, we need an API that can be called by internal system.
The contract of this API is as follows:
POST ai/providers/<name>/embedding
Expected parameters:
Record as json body
Output
Array of float (vector) with size equal to dimensions. The vector is normalized
POST ai/providers/<name>/describe
Expected parameters:
Record as json body
Output
Textual string