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

Method embedContent

out/cli.cjs:79663–79667  ·  view source on GitHub ↗

* Embeds the provided content. * * Fields set in the optional SingleRequestOptions parameter will * take precedence over the RequestOptions values provided to * GoogleGenerativeAI.getGenerativeModel .

(request3, requestOptions = {})

Source from the content-addressed store, hash-verified

79661 }
79662 /**
79663 * Embeds the provided content.
79664 *
79665 * Fields set in the optional {@link SingleRequestOptions} parameter will
79666 * take precedence over the {@link RequestOptions} values provided to
79667 * {@link GoogleGenerativeAI.getGenerativeModel }.
79668 */
79669 async embedContent(request3, requestOptions = {}) {
79670 const formattedParams = formatEmbedContentInput(request3);

Callers

nothing calls this directly

Calls 2

formatEmbedContentInputFunction · 0.85
embedContentFunction · 0.85

Tested by

no test coverage detected