Load data
Load data: In this section, we are going to load the data prepared previously for this session, so you don't have to recompute the embeddings of Wikipedia articles with your own credits. import pandas as pd from ast import literal_eval # Path to your local CSV file csv_file_path = '../../data/vector_database_wikipedia_articles_embedded.csv' article_df = pd.read_csv(csv_file_path) # Read vectors from strings back into a list article_df['title_vector'] = article_df.title_vector.apply(literal_eval).values article_df['content_vector'] = article_df.content_vector.apply(literal_eval).values