Add Python dependencies
Before we start to work with our shoe data, add all the necessary Python imports in the first cell of your Jupyter Notebook:
Jupyter Notebook
import ast
import base64
from datetime import datetime
from dotenv import load_dotenv
import json
import os
from typing import Any, List, Optional
import boto3
from botocore.exceptions import NoCredentialsError
from IPython.display import display, Image, HTML
# LlamaIndex
from llama_index.core import Document
from llama_index.core import Settings
from llama_index.core import VectorStoreIndex
from llama_index.core.embeddings import BaseEmbedding
from llama_index.core.ingestion import IngestionPipeline
from llama_index.core.schema import QueryBundle
from llama_index.core.tools import FunctionTool
# LlamaIndex agents
from llama_index.core.agent import FunctionCallingAgentWorker, AgentRunner
# LlamaIndex LLMs
from llama_index.llms.openai import OpenAI as OpenAI_Llama
# LlamaIndex metadata filters
from llama_index.core.vector_stores.types import (
MetadataFilters,FilterCondition
)
# LlamaIndex retrievers
from llama_index.core.retrievers import VectorIndexAutoRetriever, VectorIndexRetriever
# LlamaIndex vector stores
from llama_index.core.vector_stores import MetadataInfo, VectorStoreInfo
from llama_index.vector_stores.pinecone import PineconeVectorStore
from llama_index.core.vector_stores.types import VectorStoreQuery
# Pinecone
from pinecone import Pinecone, ServerlessSpec
import pandas as pd
from rapidfuzz import fuzz, process
from tqdm import tqdm
from tqdm.autonotebook import tqdm
We're ready to work with our product data in the coming lessons.