JSONLToChatTransform
Attributes
attributenamestr= 'jsonl_to_chat'attributeConfigtype= JSONLToChatConfigattributesystem_prompt= system_promptattributeuser_template= user_templateattributeassistant_template= assistant_templateFunctions
func__init__(self, *, system_prompt='', user_template='{query}', assistant_template=None) -> Noneparamselfparamsystem_promptstr= ''paramuser_templatestr= '{query}'paramassistant_templatestr | None= NoneReturns
Nonefunc__call__(self, rows) -> Iterable[dict[str, Any]]paramselfparamrowsIterable[dict[str, Any]]Returns
typing.Iterable[dict[str, typing.Any]]