I am here: https://github.com/openai/openai-cookbook/blob/main/examples/Obtain_dataset.ipynb and at this block, I get a quota limit error. I thought embeddings were 0.0005$ per vector? I think i'm this notebook does 1000? Do I need to request a quota increase?
This may take a few minutes
df["embedding"] = df.combined.apply(lambda x: get_embedding(x, engine=embedding_model))
df.to_csv("data/fine_food_reviews_with_embeddings_1k.csv")
I get this error:
RateLimitError Traceback (most recent call last)
/usr/local/lib/python3.8/dist-packages/tenacity/init.py in call(self, fn, *args, **kwargs)
408 try:
--> 409 result = fn(*args, **kwargs)
410 except BaseException: # noqa: B902
14 frames
RateLimitError: You exceeded your current quota, please check your plan and billing details.
The above exception was the direct cause of the following exception:
RetryError Traceback (most recent call last)
/usr/local/lib/python3.8/dist-packages/tenacity/init.py in iter(self, retry_state)
361 if self.reraise:
362 raise retry_exc.reraise()
--> 363 raise retry_exc from fut.exception()
364
365 if self.wait:
RetryError: RetryError[<Future at 0x7fa2f17e06d0 state=finished raised RateLimitError>]