Update app.py
Browse files21 unmodified lines2223242526272829303132333425262721 unmodified lines# Initialize connection to Pineconepc = PineconeGRPC(api_key=pinecone_api_key)
# Define the spec for the Pinecone indexspec = ServerlessSpec( replicas=1, pod_type="p1")
# Initialize your indexif index_name not in pc.list_indexes(): pc.create_index(name=index_name, dimension=1536, spec=spec)
pinecone_index = pc.Index(index_name)
# Initialize VectorStoreapp.py-10