@metreeca/llms
    Preparing search index...

    Function embedding

    • Extracts the embedding of a Gemini API response.

      Parameters

      • response: EmbedContentResponse

        The response of an embedContent request

      Returns Vector

      The Vector embedded for the first content of response, or an empty array if it carries none