MCPcopy Index your code
hub / github.com/feast-dev/feast / _embed_text

Method _embed_text

sdk/python/feast/embedder.py:184–189  ·  view source on GitHub ↗
(self, inputs: List[str])

Source from the content-addressed store, hash-verified

182 return self._text_model
183
184 def _embed_text(self, inputs: List[str]) -> "np.ndarray":
185 return self.text_model.encode(
186 inputs,
187 batch_size=self.config.batch_size,
188 show_progress_bar=self.config.show_progress,
189 )
190
191 # Image Embedding
192 @property

Callers

nothing calls this directly

Calls 1

encodeMethod · 0.80

Tested by

no test coverage detected