text-embedding-ada-002 is an embedding models on text search, code search, and sentence similarity tasks and gets comparable performance on text classification. It can be used along with openai, azure-openai tag etc. Link to document: https://openai.com/blog/new-and-improved-embedding-model
Questions tagged [text-embedding-ada-002]
8 questions
3
votes
0 answers
Azure OpenAI returns "OperationNotSupported - The embeddings operation does not work with the specified model, text-embedding-ada-002"
Our backend service using Azure OpenAI APIs was unexpectedly getting this kind of responses for around 2 hours for all incoming requests:
error_code=OperationNotSupported
error_message='The embeddings operation does not work with the specified…

Michal Kňazský
- 31
- 1
3
votes
1 answer
OpenAI Embeddings API: How to change the embedding output dimension?
In the official OpenAI node library Create embeddings if for example using the model text-embedding-ada-002 the embeddings returned is an array of around 1536.
import {Configuration, OpenAIApi} from 'openai'
openai = new…

Nadsah
- 109
- 1
- 9
2
votes
1 answer
Check the commonality of the two sentences
To check the commonality of the two sentences, I used the model text-embedding-ada-002 of azure openai . However, it is not very accurate with negative sentences and antonyms. Example 2 sentences:
I hate eating candy and I like eating candy, the…

CDN
- 394
- 6
- 15
1
vote
1 answer
Azure OpenAI Embeddings vs OpenAI Embeddings
Is anyone getting different results from Azure OpenAI embeddings deployment using text-embedding-ada-002 than the ones from OpenAI? Same text, same model, and the results are considerably far in the vector space.
What's recommended for embeddings?

Ak123
- 39
- 6
1
vote
1 answer
OpenAI API error: "AttributeError: module 'openai' has no attribute 'Embedding'"
According to OpenAi's documentation and a large number of demonstrations I found online, the following code should run without a problem in Python:
import openai
response = openai.Embedding.create(
input="porcine pals say",
…

ashap551
- 23
- 1
- 6
1
vote
1 answer
OpenAI Embeddings API error: "AttributeError: module 'openai' has no attribute 'Embedding'"
I was running a python script with the openai library. Whenever I run this function on my local machine it throws the following error
def gpt3_embedding(content, engine='text-embedding-ada-002'):
#delay_print('Making a vector')
content =…

Bisrat Moges
- 11
- 1
- 3
0
votes
0 answers
Getting retry error while running Openai embedding engine
So, I'm running code for text embedder, using Openai Ada-002 model. Code looks something like that:
import pandas as pd
from openai.embeddings_utils import get_embedding, cosine_similarity
import openai
import os
openai.api_key =…

RIOMIO
- 1
- 1
0
votes
2 answers
OpenAI Embeddings Cosine Similarity Search 'Input vector should be 1-D' error
I am getting following error in Jupyter Notebook
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
Cell In[2], line 39
37 query = input("Enter…

user3137471
- 5
- 4