Currently, a function can only return a dictionary (or an object which gets converted to the dictionary). It prevents functions from returning more complex Parts, like images references or binary file contents and forces complex orchestration or adding these parts via callbacks.
Currently, a function can only return a dictionary (or an object which gets converted to the dictionary). It prevents functions from returning more complex Parts, like images references or binary file contents and forces complex orchestration or adding these parts via callbacks.