Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/resources/embeddings.ts>CreateEmbeddingResponse

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
namespace CreateEmbeddingResponse
import { CreateEmbeddingResponse } from "https://deno.land/x/openai@v4.53.2/resources/embeddings.ts";

Interfaces

The usage information for the request.

interface CreateEmbeddingResponse
import { type CreateEmbeddingResponse } from "https://deno.land/x/openai@v4.53.2/resources/embeddings.ts";

Properties

data: Array<Embedding>

The list of embeddings generated by the model.

model: string

The name of the model used to generate the embedding.

object: "list"

The object type, which is always "list".

The usage information for the request.