class_docstr: Searching by similarity.
class_docstr_tok: ["Searching","by","similarity","."]
code: def config_spec(self) -> types.Spec:
      return {
          # Requires an embedding layer specified from a model.
          "Embedding Field": types.SingleFieldMatcher(
              spec="output", types=["Embeddings"]
          )
      }
  
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 6 for calling the SimilaritySearcher obj's underlying member method code with example usage: obj.config_spec() and returns: dict