code: def query(
      self,
      query: VectorIndexQuery,
  ) -> VectorIndexQueryResult:
      import pinecone
  
      if not self._client:
          self._client = pinecone.Index(self._index_name)
  
      response = self._client.query(
          top_k=query.top_k, vector=query.embedding.reshape(-1).tolist()
      )
  
      distances, ids = [], []
  
      for row in response["matches"]:
          distances.append(row["score"])
          ids.append(int(row["id"]))
  
      return VectorIndexQueryResult(distances, ids)
  
file_path: evadb/evadb/third_party/vector_stores/pinecone.py
imports: import os
  from typing import List
  from evadb.third_party.vector_stores.types import FeaturePayload, VectorIndexQuery, VectorIndexQueryResult, VectorStore
  from evadb.utils.generic_utils import try_to_import_pinecone_client
  from evadb.utils.logging_manager import logger
label_desc: Use image node_id 5 for calling the PineconeVectorStore obj's underlying member method code with example usage: obj.query(query) and returns: VectorIndexQueryResult