MCPcopy
hub / github.com/llmware-ai/llmware / inference

Method inference

llmware/models.py:5538–5542  ·  view source on GitHub ↗

Implemented as stream without a streamer function.

(self, prompt, image_path, inference_dict=None)

Source from the content-addressed store, hash-verified

5536 self.tokenizer = Utilities().get_default_tokenizer()
5537
5538 def inference(self, prompt, image_path, inference_dict=None):
5539 """ Implemented as stream without a streamer function. """
5540
5541 return self.stream(prompt,image_path, inference_dict=inference_dict,
5542 streamer=None, no_stream=True)
5543
5544 def stream(self, prompt, image_path, add_context=None, add_prompt_engineering=None, api_key=None,
5545 inference_dict=None, streamer=None,no_stream=False):

Callers

nothing calls this directly

Calls 1

streamMethod · 0.95

Tested by

no test coverage detected