Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/openai_mini/lib/types/types.ts>EmbeddingsResponse

A minimal wrapper for the OpenAI API
Latest
interface EmbeddingsResponse
import { type EmbeddingsResponse } from "https://deno.land/x/openai_mini@0.3.2/lib/types/types.ts";

Properties

object: string
data: { object: string; embedding: number[]; index: number; }[]
model: string
usage: { prompt_tokens: number; total_tokens: number; }