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

Method function_call

llmware/models.py:3031–3039  ·  view source on GitHub ↗

This is the key inference method for SLIM models - takes a context passage and a key list which is packaged in the prompt as the keys for the dictionary output

(self, context, function=None, params=None, get_logits=False,
                      temperature=-99, max_output=None)

Source from the content-addressed store, hash-verified

3029 return prompt_engineered
3030
3031 def function_call(self, context, function=None, params=None, get_logits=False,
3032 temperature=-99, max_output=None):
3033
3034 """ This is the key inference method for SLIM models - takes a context passage and a key list
3035 which is packaged in the prompt as the keys for the dictionary output"""
3036
3037 output_response = {}
3038
3039 return output_response
3040
3041 def fc_prompt_engineer(self, context, params=None, function=None,
3042 trailing_space= ""):

Calls

no outgoing calls

Tested by

no test coverage detected