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)
| 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= ""): |
no outgoing calls
no test coverage detected