Back to all models
Get all the details on text-embedding-ada-002, an AI model from OpenAI. This page covers its token limits, pricing structure, key capabilities such as Recommendations, Anomaly Detection, Classification, available API code samples, and performance strengths.
Key Metrics
Input Limit
No data tokens
Output Limit
No data tokens
Input Cost
$0.10/1M
Output Cost
N/A/1M
Sample API Code
from openai import OpenAI;client = OpenAI();response = client.embeddings.create(input="Your text string goes here",model="text-embedding-ada-002");print(response.data[0].embedding)
Required Libraries
openai
openai
Notes
text-embedding-ada-002 is an improved, more performant version of the original Ada embedding model. Embeddings are a numerical representation of text that can be used to measure the relatedness between two pieces of text.
Supported Data Types
Input Types
text
Output Types
json
Strengths & Weaknesses
Exceptional at
semantic similarity
text representation
Good at
search
clustering
recommendations
anomaly detection
classification
Additional Information
Latest Update
Dec 1, 2022
Knowledge Cutoff
No data