| <a id="gen-ai-input-messages" href="#gen-ai-input-messages">`gen_ai.input.messages`</a> | any | The chat history provided to the model as an input. [2] | [<br> {<br> "role": "user",<br> "parts": [<br> {<br> "type": "text",<br> "content": "Weather in Paris?"<br> }<br> ]<br> },<br> {<br> "role": "assistant",<br> "parts": [<br> {<br> "type": "tool_call",<br> "id": "call_VSPygqKTWdrhaFErNvMV18Yl",<br> "name": "get_weather",<br> "arguments": {<br> "location": "Paris"<br> }<br> }<br> ]<br> },<br> {<br> "role": "tool",<br> "parts": [<br> {<br> "type": "tool_call_response",<br> "id": " call_VSPygqKTWdrhaFErNvMV18Yl",<br> "result": "rainy, 57°F"<br> }<br> ]<br> }<br>] |  |
0 commit comments