Function: toEmbeddingJSON()
@providerprotocol/ai / proxy/server / toEmbeddingJSON
Function: toEmbeddingJSON()
Section titled “Function: toEmbeddingJSON()”toEmbeddingJSON(
result):Response
Defined in: src/providers/proxy/server/webapi.ts:222
Create a JSON Response from an embedding result.
Parameters
Section titled “Parameters”result
Section titled “result”The embedding result
Returns
Section titled “Returns”Response
HTTP Response with JSON body