MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / _getEmbeddingsSend

Function _getEmbeddingsSend

out/cli.cjs:78444–78451  ·  view source on GitHub ↗
(context, deploymentId, body, options = { requestOptions: {} })

Source from the content-addressed store, hash-verified

78442 };
78443 })
78444 };
78445}
78446async function getImageGenerations(context, deploymentId, body, options = { requestOptions: {} }) {
78447 const result = await _getImageGenerationsSend(context, deploymentId, body, options);
78448 return _getImageGenerationsDeserialize(result);
78449}
78450function _getEmbeddingsSend(context, deploymentId, body, options = { requestOptions: {} }) {
78451 return context.path("/deployments/{deploymentId}/embeddings", deploymentId).post(Object.assign(Object.assign({}, operationOptionsToRequestParameters(options)), { body: {
78452 user: body["user"],
78453 model: body["model"],
78454 input: body["input"],

Callers 1

getEmbeddingsFunction · 0.85

Calls 3

postMethod · 0.80
pathMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…