messages.content: Analyze the sentiment of a customer review 'I love the food here! It's always fresh and delicious.'.
messages.role: user
messages.role: assistant
messages.arguments: {"text": "I love the food here! It's always fresh and delicious.", "language": "english"}
messages.name: sentiment_analysis
messages.type: function
tools: [{"type": "function", "function": {"name": "sentiment_analysis", "description": "Perform sentiment analysis on a given piece of text.", "parameters": {"type": "dict", "properties": {"text": {"type": "string", "description": "The text on which to perform sentiment analysis."}, "language": {"type": "string", "description": "The language in which the text is written."}}, "required": ["text", "language"]}}}]