# using chainprompt = ChatPromptTemplate.from_messages( [ ("system", "You are a helpful assistant that translates English to French."), ("human", "Translate this sentence from English to French. {english_text}."), ])chain = prompt | chatchain.invoke({"english_text": "Hello, how are you?"})
Assistant
Responses are generated using AI and may contain mistakes.