distilabel
distilabel copied to clipboard
[FEATURE] Update `generate` return type to allow also function calls
Is your feature request related to a problem? Please describe.
Currently, LLM.generate
return type is constrained to either str
(assistant message) or None
(assistant failed generating or something else happened).
Describe the solution you'd like
Update the LLM.generate
return type to also allow returning function call objects.