MCPcopy Create free account
hub / github.com/OpenRaiser/PaperFlow / decode

Method decode

tests/test_llm_parser.py:675–676  ·  view source on GitHub ↗
(self, generated_ids, skip_special_tokens=True)

Source from the content-addressed store, hash-verified

673 return {"input_ids": FakeTensor([1, 2, 3])}
674
675 def decode(self, generated_ids, skip_special_tokens=True):
676 return '{"action":"adjust_interest","direction":"decrease","topics":["GUI Agent"],"confidence":0.9}'
677
678 class FakeOutputs:
679 def __getitem__(self, index):

Callers 13

do_POSTMethod · 0.80
_read_jsonFunction · 0.80
streamWikiAskFunction · 0.80
fetch_one_queryFunction · 0.80
http_jsonFunction · 0.80
is_webhook_healthyFunction · 0.80
verify_signatureMethod · 0.80
do_POSTMethod · 0.80
fetch_arxiv.pyFile · 0.80
safe_console_textFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected