LLM
copied
Fix output parser
Signed-off-by: Jael Gu <mengjia.gu@zilliz.com>
@ -67,7 +67,7 @@ class LlamaCpp(PyOperator):
return new_messages
def parse_outputs(self, response):
return response['choices'][0]['text']
return response['choices'][0]['message']['content']
@staticmethod
def supported_model_names():