MCPcopy Create free account
hub / github.com/algorithmicsuperintelligence/optillm / generate_json

Method generate_json

tests/test_json_plugin.py:29–30  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

27 def __init__(self, *args, **kwargs):
28 pass
29 def generate_json(self, *args, **kwargs):
30 return {"mocked": "result"}
31 def count_tokens(self, text):
32 return len(text.split())
33 def extract_schema_from_response_format(*args):

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected