original_docstring: 
          Converts this embedding into a (neighbor-only) JSON object.
          
          compressed: whether to format JSON objects using base64 strings
              instead of as human-readable float arrays
          
docstring: Converts this embedding into a (neighbor-only) JSON object.
  compressed: whether to format JSON objects using base64 strings
  instead of as human-readable float arrays
docstring_tokens: Converts this embedding into a ( neighbor - only ) JSON object . compressed : whether to format JSON objects using base64 strings instead of as human - readable float arrays
code: def to_json(self, compressed=True, save_neighbors=True, num_neighbors=None):
          """
          Converts this embedding into a (neighbor-only) JSON object.
          
          compressed: whether to format JSON objects using base64 strings
              instead of as human-readable float arrays
          """
          result = {}
          result["_format"] = "neighbor_only"
          
          if save_neighbors and self.has_neighbors():
              result["neighbors"] = self.get_neighbors().to_json(compressed=compressed, num_neighbors=num_neighbors)
          result["metric"] = self.metric
          result["n_neighbors"] = self.n_neighbors
          return standardize_json(result)
code_tokens: def to_json ( self , compressed = True , save_neighbors = True , num_neighbors = None ) : result = { } result [ "_format" ] = "neighbor_only" if save_neighbors and self . has_neighbors ( ) : result [ "neighbors" ] = self . get_neighbors ( ) . to_json ( compressed = compressed , num_neighbors = num_neighbors ) result [ "metric" ] = self . metric result [ "n_neighbors" ] = self . n_neighbors return standardize_json ( result )
short_docstring: Converts this embedding into a (neighbor-only) JSON object.
short_docstring_tokens: Converts this embedding into a ( neighbor - only ) JSON object .
comment: """
          Converts this embedding into a (neighbor-only) JSON object.
          
          compressed: whether to format JSON objects using base64 strings
              instead of as human-readable float arrays
          """