a human.    Human: hi    AI: Hello! How can I assist you today?    Human: Translate this sentence from English to French: I love programming.        > Finished chain.    {'question': 'Translate this sentence from English to French: I love programming.',     'chat_history': [HumanMessage(content='hi', additional_kwargs={}, example=False),      AIMessage(content='Hello! How can I assist you today?', additional_kwargs={}, example=False),      HumanMessage(content='Translate this sentence from English to French: I love programming.', additional_kwargs={}, example=False),      AIMessage(content='Sure! The translation of "I love programming" from English to French is "J\'adore programmer."', additional_kwargs={}, example=False)],     'text': 'Sure! The translation of "I love programming" from English to French is "J\'adore programmer."'}conversation({"question": "Now translate the sentence to German."})            > Entering new LLMChain chain...    Prompt after formatting:    System: You are a nice chatbot having a conversation with a human.    Human: hi    AI: Hello! How can I assist you today?    Human: Translate this sentence from English to French: I love programming.    AI: Sure! The translation of "I love programming" from English to French is "J'adore programmer."    Human: Now translate the sentence to German.        > Finished chain.    {'question': 'Now translate the sentence to German.',     'chat_history': [HumanMessage(content='hi', additional_kwargs={}, example=False),      AIMessage(content='Hello! How can I assist you today?', additional_kwargs={}, example=False),      HumanMessage(content='Translate this sentence from English to French: I love programming.', additional_kwargs={}, example=False),      AIMessage(content='Sure! The translation of "I love programming" from English to French is "J\'adore programmer."', additional_kwargs={}, example=False),      HumanMessage(content='Now translate the sentence to German.', additional_kwargs={},
Open In Colab
Open In Colab ->: a human.    Human: hi    AI: Hello! How can I assist you today?    Human: Translate this sentence from English to French: I love programming.        > Finished chain.    {'question': 'Translate this sentence from English to French: I love programming.',     'chat_history': [HumanMessage(content='hi', additional_kwargs={}, example=False),      AIMessage(content='Hello! How can I assist you today?', additional_kwargs={}, example=False),      HumanMessage(content='Translate this sentence from English to French: I love programming.', additional_kwargs={}, example=False),      AIMessage(content='Sure! The translation of "I love programming" from English to French is "J\'adore programmer."', additional_kwargs={}, example=False)],     'text': 'Sure! The translation of "I love programming" from English to French is "J\'adore programmer."'}conversation({"question": "Now translate the sentence to German."})            > Entering new LLMChain chain...    Prompt after formatting:    System: You are a nice chatbot having a conversation with a human.    Human: hi    AI: Hello! How can I assist you today?    Human: Translate this sentence from English to French: I love programming.    AI: Sure! The translation of "I love programming" from English to French is "J'adore programmer."    Human: Now translate the sentence to German.        > Finished chain.    {'question': 'Now translate the sentence to German.',     'chat_history': [HumanMessage(content='hi', additional_kwargs={}, example=False),      AIMessage(content='Hello! How can I assist you today?', additional_kwargs={}, example=False),      HumanMessage(content='Translate this sentence from English to French: I love programming.', additional_kwargs={}, example=False),      AIMessage(content='Sure! The translation of "I love programming" from English to French is "J\'adore programmer."', additional_kwargs={}, example=False),      HumanMessage(content='Now translate the sentence to German.', additional_kwargs={},