Examples and guides for using the OpenAI API
Fix wget download updated parameters (#538)
Michael Yuan6798e1ca3a40
diff --git a/examples/vector_databases/redis/nbutils.py b/examples/vector_databases/redis/nbutils.pyindex bd3dd5a0..6e13ada9 100644--- a/examples/vector_databases/redis/nbutils.py+++ b/examples/vector_databases/redis/nbutils.py@@ -23,7 +23,7 @@ def download_wikipedia_data(else:print("File not found, downloading now...")# Download the data- wget.download(data_url, out=download_path, bar=True)+ wget.download(data_url, out=download_path)# Unzip the datawith zipfile.ZipFile(zip_file_path, 'r') as zip_ref:@@ -43,4 +43,4 @@ def read_wikipedia_data(data_path: str = '../../data/', file_name: str = "vectordata['content_vector'] = data.content_vector.apply(literal_eval)# Set vector_id to be a stringdata['vector_id'] = data['vector_id'].apply(str)- return data\ No newline at end of file+ return data