code: def get_sub_conversations(conversation: str, system_prompt: str):
      interactions = conversation.split("AI:")
      sub_conversations = []
      for i in range(len(interactions) - 1):
          user_input = system_prompt + "AI:".join(interactions[: i + 1])
          completion = interactions[i + 1].split("Human:")[0].strip()
          sub_conversations.append(
              {"user_input": user_input, "completion": completion}
          )
      return sub_conversations
  
imports: from langchain import OpenAI, LLMChain, PromptTemplate
  from langchain.chains.conversation.memory import ConversationBufferWindowMemory
  from chatllama.langchain_modules.prompt_templates import PERSON_CHATBOT_TEMPLATE, AI_CHATBOT_TEMPLATE
label_desc: Use image node_id 3 for calling a global function with example usage: get_sub_conversations(conversation, system_prompt) and returns: sub_conversations