),]mrkl = initialize_agent(    tools, llm, agent=AgentType.OPENAI_MULTI_FUNCTIONS, verbose=True)# Do this so we can see exactly what's going on under the hoodfrom langchain.globals import set_debugset_debug(True)mrkl.run("What is the weather in LA and SF?")    [chain/start] [1:chain:AgentExecutor] Entering Chain run with input:    {      "input": "What is the weather in LA and SF?"    }    [llm/start] [1:chain:AgentExecutor > 2:llm:ChatOpenAI] Entering LLM run with input:    {      "prompts": [        "System: You are a helpful AI assistant.\nHuman: What is the weather in LA and SF?"      ]    }    [llm/end] [1:chain:AgentExecutor > 2:llm:ChatOpenAI] [2.91s] Exiting LLM run with output:    {      "generations": [        [          {            "text": "",            "generation_info": null,            "message": {              "content": "",              "additional_kwargs": {                "function_call": {                  "name": "tool_selection",                  "arguments": "{\n  \"actions\": [\n    {\n      \"action_name\": \"Search\",\n      \"action\": {\n        \"tool_input\": \"weather in Los Angeles\"\n      }\n    },\n    {\n      \"action_name\": \"Search\",\n      \"action\": {\n        \"tool_input\": \"weather in San Francisco\"\n      }\n    }\n  ]\n}"                }              },              "example": false            }          }        ]      ],      "llm_output": {        "token_usage": {          "prompt_tokens": 81,          "completion_tokens": 75,          "total_tokens": 156        },        "model_name": "gpt-3.5-turbo-0613"      },      "run": null    }    [tool/start] [1:chain:AgentExecutor > 3:tool:Search] Entering Tool run with input:    "{'tool_input': 'weather in Los Angeles'}"    [tool/end] [1:chain:AgentExecutor > 3:tool:Search] [608.693ms] Exiting Tool run with output:    "Mostly cloudy early, then sunshine for the afternoon. High 76F. Winds SW at 5 to 10 mph. Humidity59%."    [tool/start] [1:chain:AgentExecutor >
This notebook showcases using an agent that uses the OpenAI functions ability to respond to the prompts of the user using a Large Language Model.
This notebook showcases using an agent that uses the OpenAI functions ability to respond to the prompts of the user using a Large Language Model. ->: ),]mrkl = initialize_agent(    tools, llm, agent=AgentType.OPENAI_MULTI_FUNCTIONS, verbose=True)# Do this so we can see exactly what's going on under the hoodfrom langchain.globals import set_debugset_debug(True)mrkl.run("What is the weather in LA and SF?")    [chain/start] [1:chain:AgentExecutor] Entering Chain run with input:    {      "input": "What is the weather in LA and SF?"    }    [llm/start] [1:chain:AgentExecutor > 2:llm:ChatOpenAI] Entering LLM run with input:    {      "prompts": [        "System: You are a helpful AI assistant.\nHuman: What is the weather in LA and SF?"      ]    }    [llm/end] [1:chain:AgentExecutor > 2:llm:ChatOpenAI] [2.91s] Exiting LLM run with output:    {      "generations": [        [          {            "text": "",            "generation_info": null,            "message": {              "content": "",              "additional_kwargs": {                "function_call": {                  "name": "tool_selection",                  "arguments": "{\n  \"actions\": [\n    {\n      \"action_name\": \"Search\",\n      \"action\": {\n        \"tool_input\": \"weather in Los Angeles\"\n      }\n    },\n    {\n      \"action_name\": \"Search\",\n      \"action\": {\n        \"tool_input\": \"weather in San Francisco\"\n      }\n    }\n  ]\n}"                }              },              "example": false            }          }        ]      ],      "llm_output": {        "token_usage": {          "prompt_tokens": 81,          "completion_tokens": 75,          "total_tokens": 156        },        "model_name": "gpt-3.5-turbo-0613"      },      "run": null    }    [tool/start] [1:chain:AgentExecutor > 3:tool:Search] Entering Tool run with input:    "{'tool_input': 'weather in Los Angeles'}"    [tool/end] [1:chain:AgentExecutor > 3:tool:Search] [608.693ms] Exiting Tool run with output:    "Mostly cloudy early, then sunshine for the afternoon. High 76F. Winds SW at 5 to 10 mph. Humidity59%."    [tool/start] [1:chain:AgentExecutor >