langchain.adapters.openai.convert_messages_for_finetuning¶
langchain.adapters.openai.convert_messages_for_finetuning(sessions: Iterable[ChatSession]) → List[List[dict]][source]¶
Convert messages to a list of lists of dictionaries for fine-tuning.
Examples using convert_messages_for_finetuning¶
Facebook Messenger
Chat loaders
iMessage