From f86eaea9caf8ac63c88c772235604c77a59ded13 Mon Sep 17 00:00:00 2001 From: William Buck Date: Mon, 20 Mar 2023 13:02:37 -0700 Subject: [PATCH] remove duplicate import of `distances_from_embeddings` --- apps/web-crawl-q-and-a/web-qa.py | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/web-crawl-q-and-a/web-qa.py b/apps/web-crawl-q-and-a/web-qa.py index a5a86dd5..ccc34fdb 100644 --- a/apps/web-crawl-q-and-a/web-qa.py +++ b/apps/web-crawl-q-and-a/web-qa.py @@ -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