Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
precompute_feature_service
Method · 0.80
_build_retrieve_online_document_record
Function · 0.80
_embed_text
Method · 0.80
get_token
Method · 0.80
get_token
Method · 0.80
get_token
Method · 0.80
sending_headers
Method · 0.80
_append_auth_header_metadata
Method · 0.80
_serialize_val
Function · 0.80
serialize_entity_key_prefix
Function · 0.80
serialize_entity_key
Function · 0.80
parse_private_key_path
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected