Trying to build embeddings following this tutorial: https://platform.openai.com/docs/tutorials/web-qa-embeddings
Stuck on the step Turning the embeddings into a NumPy array
import numpy as np
from openai.embeddings_utils import distances_from_embeddings
df=pd.read_csv('processed/embeddings.csv', index_col=0)
df['embeddings'] = df['embeddings'].apply(eval).apply(np.array)
df.head()
This script fails while importing distances_from_embeddings with error:
AttributeError: module 'numpy' has no attribute '_no_nep50_warning'
Please help!