import { Embeddings } from "https://deno.land/x/openai@v4.28.5/resources/embeddings.ts";
class Embeddings
extends APIResource
import { Embeddings } from "https://deno.land/x/openai@v4.28.5/resources/embeddings.ts";
Methods
create(body: EmbeddingCreateParams, options?: Core.RequestOptions): Core.APIPromise<CreateEmbeddingResponse>
Creates an embedding vector representing the input text.