Create embeddings
Changed onCreates an embedding vector for the input and charges the account for the tokens it counted. Requires an API key.
Request
- Base URLhttps://api.naga.ac
- Auth
- HTTP bearer
- or API key in header x-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
The vectors. data carries one row per input, each with its index; usage carries the token count behind the charge.
Changes
- breaking
added to the
request propertyallOflist - breaking
added to the
request propertyallOflist - breaking
removed
subschema #1subschema #2subschema #3subschema #4from therequest propertyanyOflist - breaking
removed the enum value
base64of the request property - breaking
removed the enum value
floatof the request property - breaking
the
request property type changed fromintegertointegernull, and format from no format toint64 - breaking
the
request property type changed fromstringto no type - breaking
the response's body type changed from
objectto no type for status - breaking
the
response's property type changed fromobjectto no type for status - breaking
the
response's property type changed fromobjectto no type for status - breaking
the
response's property type changed fromobjectto no type for status - breaking
the
response's property type changed fromobjectto no type for status - breaking
the
response's property type changed fromobjectto no type for status - breaking
the
response's property type changed fromobjectto no type for status - breaking
the
response's property type changed fromobjectto no type for status - breaking
the
response's property type changed fromobjectto no type for status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
/from the response with the status - warning
removed the optional property
from the response with the status - info
api operation id
createEmbeddingremoved and replaced withcreate_embedding - info
the request property
became nullable - info
added
subschema #1subschema #2to the response bodyallOflist for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added to the
response propertyallOflist for the response status - info
added to the
response propertyallOflist for the response status - info
added to the
response propertyallOflist for the response status - info
added to the
response propertyallOflist for the response status - info
added to the
response propertyallOflist for the response status - info
added to the
response propertyallOflist for the response status - info
added to the
response propertyallOflist for the response status - info
added to the
response propertyallOflist for the response status - info
added the required property
to the response with the status
- breaking