MCPcopy Index your code
hub / github.com/TaskingAI/TaskingAI / encode

Method encode

backend/app/models/retrieval/tokenizer/_base.py:24–25  ·  view source on GitHub ↗
(self, text: str)

Source from the content-addressed store, hash-verified

22
23 @abstractmethod
24 def encode(self, text: str) -> List[int]:
25 raise NotImplementedError
26
27 @abstractmethod
28 def decode(self, tokens: List[int]) -> str:

Callers 15

count_tokensMethod · 0.95
aes_encryptFunction · 0.45
checksumFunction · 0.45
encode_text_to_base64Function · 0.45
decode_base64_to_textFunction · 0.45
aes_encryptFunction · 0.45
_generate_password_hashFunction · 0.45
_verify_passwordFunction · 0.45
generate_tokenFunction · 0.45
split_text_by_tokenFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected