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

Method encode

sdk/python/tests/unit/test_rag_retriever.py:34–35  ·  view source on GitHub ↗
(self, text, **kwargs)

Source from the content-addressed store, hash-verified

32 super().__init__()
33
34 def encode(self, text, **kwargs):
35 return [1, 2, 3] # Mock token IDs
36
37 def decode(self, ids, **kwargs):
38 return "decoded text"

Callers 15

_embed_textMethod · 0.80
get_tokenMethod · 0.80
get_tokenMethod · 0.80
get_tokenMethod · 0.80
sending_headersMethod · 0.80
_serialize_valFunction · 0.80
serialize_entity_keyFunction · 0.80
parse_private_key_pathFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected