class_docstr: Searching by similarity.
class_docstr_tok: ["Searching","by","similarity","."]
docstr: wrapper around the Index() class api.
docstr_tok: ["wrapper","around","the","Index","(",")","class","api","."]
code: def _find_nn(
      self, model_name, dataset_name, embedding_name, embedding
  ):
      """wrapper around the Index() class api."""
      similar_examples = self.index.find_nn(
          model_name,
          dataset_name,
          embedding_name,
          embedding,
          num_neighbors=25,
      )
      return similar_examples
  
file_path: lit/lit_nlp/components/similarity_searcher.py
imports: from typing import Optional
  from lit_nlp.api import components
  from lit_nlp.api import dataset
  from lit_nlp.api import model
  from lit_nlp.api import types
  from lit_nlp.components import index
  from lit_nlp.lib import utils
label_desc: Use image node_id 3 for calling the SimilaritySearcher obj's underlying member method code with example usage: obj._find_nn(model_name, dataset_name, embedding_name, embedding) and returns: similar_examples