remove duplicate import of distances_from_embeddings

This commit is contained in:
William Buck 2023-03-20 13:02:37 -07:00
parent 894d476618
commit ca9b9d485d
No known key found for this signature in database
GPG Key ID: D3CDB5F0AF7F4899

View File

@ -13,7 +13,6 @@ import os
import pandas as pd import pandas as pd
import tiktoken import tiktoken
import openai import openai
from openai.embeddings_utils import distances_from_embeddings
import numpy as np import numpy as np
from openai.embeddings_utils import distances_from_embeddings, cosine_similarity from openai.embeddings_utils import distances_from_embeddings, cosine_similarity