chat_engine
function. I just refactored the code to use a query engine instead of an Agent-based approach for the finetuning_events. That should work, but still weird that it fails because of such a reason. I think there needs to be some fixing to be done to the ChatCompletionMessageToolCall
class?handler._finetuning_events
and handler._function_events
and make sure they are all dictsget_chat_engine
return a query engine. And now i don't get the error anymore but save_finetuning_events
is empty so has a length of zero?llm = OpenAI(..., callback_manager=callback_manager) query_engine = index.as_query_engine(llm=llm)
Settings.callback_manager
automatically resolves the llm
appropriately?ResponseMode.CONTEXT_ONLY
. What is the problem with it?Wrote 0 examples to finetuning_events.jsonl