openai-cookbook icon indicating copy to clipboard operation
openai-cookbook copied to clipboard

Q&A with embeddings uses 4096 dimensions but updated API uses 1536

Open ScotterC opened this issue 2 years ago • 1 comments
trafficstars

Regarding https://github.com/openai/openai-cookbook/blob/main/examples/Question_answering_using_embeddings.ipynb

This only becomes a significant problem when trying to reproduce the tutorial because the olympics embeddings dataset Olympics Embeddings CSV is 4096 dimensions. An easy fix would be to point to a 1536 dimension version so that readers don't need to regenerate it themselves.

ScotterC avatar Jan 09 '23 21:01 ScotterC

Thanks! Will fix this week.

ted-at-openai avatar Jan 10 '23 00:01 ted-at-openai

Now fixed. Closing the issue, but let me know if you run into any further problems.

ted-at-openai avatar Jan 11 '23 22:01 ted-at-openai