Skip to content

Examples and guides for using the OpenAI API

remove duplicate import of `distances_from_embeddings`

William Buckca9b9d485df4
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