MCPcopy
hub / github.com/kaixindelele/ChatPaper / encode

Method encode

chat_translate.py:22–24  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

20 return tmp
21
22 def encode(self, *args, **kwargs):
23 encoder = self.get_encoder(self.model)
24 return encoder.encode(*args, **kwargs)
25
26 def decode(self, *args, **kwargs):
27 encoder = self.get_encoder(self.model)

Callers 15

chat_translate_partFunction · 0.80
chat_conclusionMethod · 0.80
chat_methodMethod · 0.80
chat_summaryMethod · 0.80
chat_conclusionMethod · 0.80
chat_methodMethod · 0.80
chat_summaryMethod · 0.80
chat_conclusionMethod · 0.80
chat_methodMethod · 0.80
chat_summaryMethod · 0.80
stage_1Method · 0.80

Calls 1

get_encoderMethod · 0.95

Tested by

no test coverage detected