Merge pull request #256 from wsbuck/main

remove duplicate import of `distances_from_embeddings`
This commit is contained in:
Ted Sanders 2023-03-20 15:23:42 -07:00 committed by GitHub
commit dc1d537d1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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