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

x/openai/resources/mod.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.38.3/resources/mod.ts";

Interfaces

The usage information for the request.

interface CreateEmbeddingResponse
import { type CreateEmbeddingResponse } from "https://deno.land/x/openai@v4.38.3/resources/mod.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".

usage: CreateEmbeddingResponse.Usage

The usage information for the request.