example=False))]], llm_output={}, run=[RunInfo(run_id=UUID('223599ef-38f8-4c79-ac6d-a5013060eb9d'))])asyncio.run(chain.ainvoke({"input_language": "English", "output_language": "Sanskrit", "text": "I love programming"}))    AIMessage(content=' ‡§Ö‡§π‡§Ç ‡§™‡•ç‡§∞‡•ã‡§ó‡•ç‡§∞‡§æ‡§Æ‡§ø‡§Ç‡§ó ‡§™‡•ç‡§∞‡•á‡§Æ‡§æ‡§Æ‡§ø', additional_kwargs={}, example=False)Streaming calls‚ÄãWe can also stream outputs via the stream method:import sysprompt = ChatPromptTemplate.from_messages([("human", "List out the 15 most populous countries in the world")])messages = prompt.format_messages()for chunk in chat.stream(messages):    sys.stdout.write(chunk.content)    sys.stdout.flush()     1. China (1,444,216,107)    2. India (1,393,409,038)    3. United States (332,403,650)    4. Indonesia (273,523,615)    5. Pakistan (220,892,340)    6. Brazil (212,559,409)    7. Nigeria (206,139,589)    8. Bangladesh (164,689,383)    9. Russia (145,934,462)    10. Mexico (128,932,488)    11. Japan (126,476,461)    12. Ethiopia (115,063,982)    13. Philippines (109,581,078)    14. Egypt (102,334,404)    15. Vietnam (97,338,589)PreviousFireworksNextJinaChatCode generation chat modelsAsynchronous callsStreaming callsCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright ¬© 2023 LangChain, Inc.
Note: This is seperate from the Google PaLM integration. Google has chosen to offer an enterprise version of PaLM through GCP, and this supports the models made available through there.
Note: This is seperate from the Google PaLM integration. Google has chosen to offer an enterprise version of PaLM through GCP, and this supports the models made available through there. ->: example=False))]], llm_output={}, run=[RunInfo(run_id=UUID('223599ef-38f8-4c79-ac6d-a5013060eb9d'))])asyncio.run(chain.ainvoke({"input_language": "English", "output_language": "Sanskrit", "text": "I love programming"}))    AIMessage(content=' ‡§Ö‡§π‡§Ç ‡§™‡•ç‡§∞‡•ã‡§ó‡•ç‡§∞‡§æ‡§Æ‡§ø‡§Ç‡§ó ‡§™‡•ç‡§∞‡•á‡§Æ‡§æ‡§Æ‡§ø', additional_kwargs={}, example=False)Streaming calls‚ÄãWe can also stream outputs via the stream method:import sysprompt = ChatPromptTemplate.from_messages([("human", "List out the 15 most populous countries in the world")])messages = prompt.format_messages()for chunk in chat.stream(messages):    sys.stdout.write(chunk.content)    sys.stdout.flush()     1. China (1,444,216,107)    2. India (1,393,409,038)    3. United States (332,403,650)    4. Indonesia (273,523,615)    5. Pakistan (220,892,340)    6. Brazil (212,559,409)    7. Nigeria (206,139,589)    8. Bangladesh (164,689,383)    9. Russia (145,934,462)    10. Mexico (128,932,488)    11. Japan (126,476,461)    12. Ethiopia (115,063,982)    13. Philippines (109,581,078)    14. Egypt (102,334,404)    15. Vietnam (97,338,589)PreviousFireworksNextJinaChatCode generation chat modelsAsynchronous callsStreaming callsCommunityDiscordTwitterGitHubPythonJS/TSMoreHomepageBlogCopyright ¬© 2023 LangChain, Inc.