This commit is contained in:
Ankush Gola
2023-03-09 21:39:52 -08:00
parent 4553f64b4b
commit 366de1bd58
2 changed files with 11 additions and 6 deletions

View File

@@ -173,15 +173,16 @@
"\n",
"\n",
"\u001b[1m> Entering new AgentExecutor chain...\u001b[0m\n",
"\u001b[32;1m\u001b[1;3mArrr, ye be in luck, matey! I'll find ye the answer to yer question.\n",
"\u001b[32;1m\u001b[1;3mArrr, ye be in luck, matey! I'll help ye find the answer ye seek.\n",
"\n",
"Thought: I need to search for the current population of Canada.\n",
"Thought: Hmm, I don't have this information off the top of me head.\n",
"Action: Search\n",
"Action Input: \"current population of Canada 2023\"\n",
"Action Input: \"Canada population 2023\"\n",
"\u001b[0m\n",
"Observation: \u001b[36;1m\u001b[1;3mThe current population of Canada is 38,627,607 as of Thursday, March 9, 2023, based on Worldometer elaboration of the latest United Nations data.\u001b[0m\n",
"Thought:\u001b[32;1m\u001b[1;3mArrr, that be a fine answer, but I need to make it sound more piratical.\n",
"Final Answer: Avast ye! As of March 9, 2023, the population of Canada be 38,627,607, according to the latest data from the United Nations.\u001b[0m\n",
"Thought:\u001b[32;1m\u001b[1;3mAhoy, me hearties! I have found the answer to yer question.\n",
"\n",
"Final Answer: As of March 9, 2023, the population of Canada is 38,627,607. Arrr!\u001b[0m\n",
"\n",
"\u001b[1m> Finished chain.\u001b[0m\n"
]
@@ -189,7 +190,7 @@
{
"data": {
"text/plain": [
"'Avast ye! As of March 9, 2023, the population of Canada be 38,627,607, according to the latest data from the United Nations.'"
"'As of March 9, 2023, the population of Canada is 38,627,607. Arrr!'"
]
},
"execution_count": 10,