Creates an embedding vector representing the input text.
Optional
const createEmbeddingResponse = await client.embeddings.create({ input: 'The quick brown fox jumped over the lazy dog', model: 'text-embedding-3-small', }); Copy
const createEmbeddingResponse = await client.embeddings.create({ input: 'The quick brown fox jumped over the lazy dog', model: 'text-embedding-3-small', });
Creates an embedding vector representing the input text.