code: def __init__(
      self,
      index: IndexHNSWFlat = None,
      ndim: int = 0,
      connectivity: int = DEFAULT_CONNECTIVITY,
      expansion_add: int = DEFAULT_EXPANSION_ADD,
      expansion_search: int = DEFAULT_EXPANSION_SEARCH,
      path: Optional[os.PathLike] = None,
      *args,
      **kwargs,
  ):
      if index is None:
          index = IndexHNSWFlat(ndim, connectivity)
          index.hnsw.efConstruction = expansion_add
          index.hnsw.efSearch = expansion_search
  
      self._faiss = index
      self._specs = {
          "Class": "usearch.IndexFAISS",
          "Dimensions": ndim,
          "Connectivity": connectivity,
          "Expansion@Add": expansion_add,
          "Expansion@Search": expansion_search,
      }
  
      self.path = path
  
file_path: usearch/python/scripts/index_faiss.py
imports: import os
  from typing import Optional
  import numpy
  from faiss import IndexHNSWFlat, IndexIVFPQ, read_index
  from usearch.index import Matches, BatchMatches
  from usearch.index import DEFAULT_CONNECTIVITY, DEFAULT_EXPANSION_ADD, DEFAULT_EXPANSION_SEARCH
label_desc: Use image node_id 1 to create a new IndexFAISS object  with example: obj = IndexFAISS(index, ndim, connectivity, expansion_add, expansion_search, path)