MCPcopy
hub / github.com/feast-dev/feast / decode

Method decode

sdk/python/tests/unit/test_rag_retriever.py:37–38  ·  view source on GitHub ↗
(self, ids, **kwargs)

Source from the content-addressed store, hash-verified

35 return [1, 2, 3] # Mock token IDs
36
37 def decode(self, ids, **kwargs):
38 return "decoded text"
39
40 def get_vocab(self):
41 """Returns the vocabulary as a dictionary of token to index."""

Callers 15

_value_to_nativeFunction · 0.80
do_getMethod · 0.80
generate_answerMethod · 0.80
_decode_tokenMethod · 0.80
_decode_tokenFunction · 0.80
_deserialize_valueFunction · 0.80
deserialize_entity_keyFunction · 0.80
get_feature_from_colMethod · 0.80
get_col_from_featureMethod · 0.80
print_tableMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected