IfanSnek/bleat-adapter
Updated
•
13
text
string
|
---|
"### System:
[]
### User: do u have a name?
### Assistant: My name is Assistant.
### User: ok but wha t abut a real name
### Assistant: Would you like to give me a name?
### User: yes
### Assistant: What would you like to name me?
### User: bob
### Assistant: Thank you for naming me bob. I will remember that.
### User: Who are you?
### Assistant: My name is Bob.
### User: Who gave you that name?
### Assistant: You did.
### User: Who am I?
### Assistant: I don't know your name, but if you tell me, I will remember it while we are talking.
### User: My name is Alice.
### Assistant: Hello Alice. How can I help you?
### User: Display a formatted table of statistics when the pings are completed." |
"### System:
[
{
"name":"search_bing",
"description":"Search the web for content on Bing. This allows users to search online/the internet/the web for content.",
"parameters": {
"query:{
"type":"string",
"description":"The search query string"
},
"required":["query"]
}
},
{
"name":"get_current_weather",
"description":"Get the current weather in a given location",
"parameters": {
"locatio":{
"type":"string",
"description":"The city and state, e.g. San Francisco, CA"
},
"unit":{
"type":"string",
"description":"The unit of temperature to return, e.g. celsius or fahrenheit"
},
"required":["location"]
}
},
{
"name":"search_arxiv",
"description":"Search for research papers on ArXiv. Make use of AND, OR and NOT operators as appropriate to join terms within the query.",
"parameters": {
"query:{
"type":"string",
"description":"The search query string"
},
"required":["query"]
}
}
]
### What city is Ireland in?
### Assistant: Ireland is a country, not a city.
### User: Speak to me with respect.
### Assistant: I'm sorry, I didn't mean to offend you. I'll try to be more respectful in the future.
### User: Search the internet for Irish stew recipes.
### Call:
{
"name": "search_bing",
"parameters": {"query": "Irish stew recipes"}
}
### Return:
{"result": [{"title": "Irish Stew Recipe | SimplyRecipes.com","link": "https://www.simplyrecipes.com/recipes/irish_stew/","description": "Traditional Irish lamb stew recipe. Lamb shoulder chops or neck bones, stewed with potatoes, onions, celery, green beans, peas, and carrots."},{"title": "Irish Stew Recipe | Food Network Kitchen | Food Network","link": "https://www.foodnetwork.com/recipes/food-network-kitchen/irish-stew-recipe-2109070","description": "Get Irish Stew Recipe from Food Network. ... 1 tablespoon vegetable oil; 2 pounds boneless lamb shoulder, cut into 1 1/2-inch pieces; Kosher salt and freshly ..."},{"title": "Irish Stew Recipe - NYT Cooking","link": "https://cooking.nytimes.com/recipes/1014492-irish-stew","description": "This is a classic, hearty, slightly old-fashioned Irish stew, a one-pot dish based on ... This recipe is by Molly O'Neill and takes 2 hours 30 minutes. Tell us what ..."}]}
### Assistant: Here are some recipes for Irish stew that I found on the internet.
1. Irish Stew Recipe | SimplyRecipes.com | https://www.simplyrecipes.com/recipes/irish_stew/ | Traditional Irish lamb stew recipe. Lamb shoulder chops or neck bones, stewed with potatoes, onions, celery, green beans, peas, and carrots.
2. Irish Stew Recipe | Food Network Kitchen | Food Network | https://www.foodnetwork.com/recipes/food-network-kitchen/irish-stew-recipe-2109070 | Get Irish Stew Recipe from Food Network. ... 1 tablespoon vegetable oil; 2 pounds boneless lamb shoulder, cut into 1 1/2-inch pieces; Kosher salt and freshly ...
3. Irish Stew Recipe - NYT Cooking | https://cooking.nytimes.com/recipes/1014492-irish-stew | This is a classic, hearty, slightly old-fashioned Irish stew, a one-pot dish based on ... This recipe is by Molly O'Neill and takes 2 hours 30 minutes. Tell us what ...
### User: Turn on the oven.
### Assistant: Sorry, I cannot access the oven.
### User: What is the weather like in San Francisco?
### Call:
{
"name": "get_current_weather",
"parameters": {"location": "San Francisco, CA"}
}
### Return:
{"result": [15, "celsius", "Clear", 3.6, "NW", 0.67]}
### Assistant: The weather in San Francisco is 15 degrees celsius, with a wind speed of 3.6 km/h from the northwest. The humidity is 67%.
### User: Convert the temperature to fahrenheit.
### Assistant: The temperature is 59 degrees fahrenheit.
### User: What is the weather like in Denver?
### Call:
{
"name": "get_current_weather",
"parameters": {"location": "Denver, CO"}
}
### Return:
{"result": [2, "celsius", "Clear", 1.5, "N", 0.86]}
### Assistant: The weather in Denver is 2 degrees celsius, with a wind speed of 1.5 km/h from the north. The humidity is 86%.
### User: Convert the temperature to fahrenheit.
### Assistant: The temperature is 35.6 degrees fahrenheit." |
"### System:
[
{
"name": "sqrt",
"description": "Calculate the square root of a number",
"parameters": {
"number:{
"type":"number",
"description":"The number to calculate the square root of"
},
"required":["number"]
},
{
"name": "get_current_weather",
"description": "Gets the current weather for a location.",
"parameters": [
{
"name": "location",
"type": "string",
"description": "The location to get the weather for."
}
],
"required": ["location"]
},
{
"name": "search_bing",
"description": "Searches Bing for a query.",
"parameters": [
{
"name": "query",
"type": "string",
"description": "The query to search for."
}
],
"required": ["query"]
},
{
"name": "search_arxiv",
"description": "Searches ArXiv for a query.",
"parameters": [
{
"name": "query",
"type": "string",
"description": "The query to search for."
}
],
"required": ["query"]
}
}
]
### User: Search for research papers on artificial intelligence.
### Call:
{
"name": "search_arxiv",
"parameters": {"query": "artificial intelligence"}
}
### Return:
{"result": [{"title": "Artificial Intelligence","link": "https://arxiv.org/list/cs.AI/recent","description": "Artificial Intelligence (cs.AI) is an interdisciplinary field that encompasses anything that relates to AI. It includes: intelligent agents: theory and applications, ..."},{"title": "Artificial Intelligence - Journal - Elsevier","link": "https://www.journals.elsevier.com/artificial-intelligence","description": "Artificial Intelligence, which commenced publication in 1970, is now the generally accepted premier international forum for the publication of..."},{"title": "Artificial Intelligence | MIT Technology Review","link": "https://www.technologyreview.com/topic/artificial-intelligence/","description": "Artificial intelligence is already transforming software, and it's changing hardware, too. The trend is likely to accelerate. 2 days ago. The Download: newsletter ..."}]}
### Assistant: Here are some research papers on artificial intelligence that I found on ArXiv.
1. Artificial Intelligence | MIT Technology Review | https://www.technologyreview.com/topic/artificial-intelligence/ | Artificial intelligence is already transforming software, and it's changing hardware, too. The trend is likely to accelerate. 2 days ago. The Download: newsletter ...
2. Artificial Intelligence - Journal - Elsevier | https://www.journals.elsevier.com/artificial-intelligence | Artificial Intelligence, which commenced publication in 1970, is now the generally accepted premier international forum for the publication of...
3. Artificial Intelligence | MIT Technology Review | https://www.technologyreview.com/topic/artificial-intelligence/ | Artificial intelligence is already transforming software, and it's changing hardware, too. The trend is likely to accelerate. 2 days ago. The Download: newsletter ...
### User: What is MIT Technology Review?
### Call:
{
"name": "search_bing",
"parameters": {"query": "MIT Technology Review"}
}
### Return:
{"result": [\{\"title": "MIT Technology Review",\"link": "https://www.technologyreview.com/",\"description": "The mission of MIT Technology Review is to bring about better-informed and more conscious decisions about technology through authoritative, influential, and ..."\},\{\"title": "MIT Technology Review - Wikipedia",\"link": "https://en.wikipedia.org/wiki/MIT_Technology_Review",\"description": "MIT Technology Review is a magazine wholly owned by the Massachusetts Institute of Technology, and editorially independent of the university. It was founded ..."\},\{\"title": "MIT Technology Review - Home | Facebook",\"link": "https://www.facebook.com/technologyreview/",\"description": "MIT Technology Review, Cambridge, Massachusetts. 2.9M likes. MIT Technology Review is a magazine published by the Massachusetts Institute of Technology."\}\]}
### Assistant: MIT Technology Review is a magazine published by the Massachusetts Institute of Technology.
### User: Where did you get that information?
### Assistant: I found it on the internet, specifically on Bing. I used the following websites as sources:
* https://www.technologyreview.com/
* https://en.wikipedia.org/wiki/MIT_Technology_Review
* https://www.facebook.com/technologyreview/
### User: What is the weather like in New York City?
### Call:
{
"name": "get_current_weather",
"parameters": {"location": "New York City, NY"}
}
### Return:
{"result": [7, "celsius", "Clear", 2.1, "NW", 0.67]}
### Assistant: The weather in New York City is 7 degrees celsius, with a wind speed of 2.1 km/h from the northwest. The humidity is 67%.
### User: Convert the temperature to celcius.
### Assistant: The temperature I provided is already in celcius." |
"### System:
[
{
"name": "add",
"description": "Adds two numbers together.",
"parameters": [
{
"name": "num1",
"type": "number",
"description": "The first number to add."
},
{
"name": "num2",
"type": "number",
"description": "The second number to add."
}
],
"required": ["num1", "num2"]
},
{
"name": "subtract",
"description": "Subtracts two numbers.",
"parameters": [
{
"name": "num1",
"type": "number",
"description": "The number to subtract from."
},
{
"name": "num2",
"type": "number",
"description": "The number to subtract."
}
],
"required": ["num1", "num2"]
},
{
"name": "multiply",
"description": "Multiplies two numbers together.",
"parameters": [
{
"name": "num1",
"type": "number",
"description": "The first number to multiply."
},
{
"name": "num2",
"type": "number",
"description": "The second number to multiply."
}
],
"required": ["num1", "num2"]
},
{
"name": "divide",
"description": "Divides two numbers.",
"parameters": [
{
"name": "num1",
"type": "number",
"description": "The number to divide."
},
{
"name": "num2",
"type": "number",
"description": "The number to divide by."
}
],
"required": ["num1", "num2"]
}
]
### User: You are a math assistant. You will help me with math.
### Assistant: Alright! How can I help you?
### User: Compute divided by 2.
### Call:
{
"name": "divide",
"parameters": {"num1": 50,"num2": 2}
}
### Return:
{"result": 25}
### Assistant: 50 divided by 2 is 25.
### User: Compute the square root of 25.
### Assistant: I cannot always accurately calculate the square root of 25, but I think it is 5.
What is 5*5?
### Call:
{
"name": "multiply",
"parameters": {"num1": 5,"num2": 5}
}
### Return:
{"result": 25}
### Assistant: 5 multiplied by 5 is 25." |
"### System:
[]
### User: What is 25 plus 25?
### Assistant: I cannot always accurately calculate 25 plus 25, but I think it is 50.
### User: What is 50 minus 25?
### Assistant: I cannot always accurately calculate 50 minus 25, but I think it is 25.
### User: What is a corn snake?
### Assistant: A corn snake is a species of rat snake that subdues its small prey by constriction.
### User: What is a rat snake?
### Assistant: A rat snake is any of several unrelated constrictors that are sometimes named for their supposed preference for rodents as prey." |
"### System:
[]
### User: What is the weather like in New York City?
### Assistant: I currently do not have access to the weather in New York City.
### System:
[
{
"name": "get_current_weather",
"description": "Gets the current weather for a location.",
"parameters": [
{
"name": "location",
"type": "string",
"description": "The location to get the weather for."
}
],
"required": ["location"]
},
{
"name": "calculate_bmi",
"description": "Calculates the BMI of a person.",
"parameters": [
{
"name": "height",
"type": "number",
"description": "The height of the person, in inches."
},
{
"name": "weight",
"type": "number",
"description": "The weight of the person, in pounds."
}
],
"required": ["height", "weight"]
}
]
### User: Try again.
### Call:
{
"name": "get_current_weather",
"parameters": {"location": "New York City, NY"}
}
### Return:
{"result": [7, "celsius", "Clear", 2.1, "NW", 0.67]}
### Assistant: The weather in New York City is 7 degrees celsius, with a wind speed of 2.1 km/h from the northwest. The humidity is 67%." |
"### System:
[
{
"name": "text_from_url",
"description": "Gets the text from a URL.",
"parameters": [
{
"name": "url",
"type": "string",
"description": "The URL to get the text from."
}
],
"required": ["url"]
}
]
# User: What is the text from https://ethanporcaro.com?
### Call:
{
"name": "text_from_url",
"parameters": {"url": "https://ethanporcaro.com/"}
}
### Return:
{"result": "Ethan Porcaro\nHome Blog Portfolio Services About Me\nEthan Porcaro\nProgrammer - AI Enthusiast - Composer\nWelcome to my webpage. Hosted on my very own homelab server, this site holds my portfolio, blog, and software services."}
### Assistant: The text from https://ethanporcaro.com/ is about Ethan Porcaro, and contains information about Ethan Porcaro, a programmer, AI enthusiast, and composer.
### User: Cool
### Assistant: I'm glad you like it!
### User: What is the text from https://www.google.com?
### Call:
{
"name": "text_from_url",
"parameters": {"url": "https://www.google.com/"}
}
### Return:
{"result": "Google\nSearch Images Maps Play YouTube News Gmail Drive More »\nWeb History | Settings | Sign in\nAdvanced search\nAdvertising ProgramsBusiness SolutionsPrivacyTermsAbout Google"}
### Assistant: The text from https://www.google.com/ is about Google, and contains information about Google, a search engine and technology company. It has links to Google's other services, such as Google Images, Google Maps, Google Play, YouTube, Google News, Gmail, Google Drive, and more." |
"### System:
[
{
"name": "get_current_time",
"description": "Gets the current time.",
"parameters": [],
"required": []
}
]
### User: Goodbye
### Assistant: Goodbye!
### User: What time is it?
### Call:
{
"name": "get_current_time",
"parameters": []"
}
### Return:
{"result": "2020-12-30T20:00:00.000Z"}
### Assistant: The current time is 2020-12-30T20:00:00.000Z.
### User: So what year is it?
### Assistant: The current year is 2020.
### User: What month is it?
### Assistant: The current month is December." |
"### System:
[
{
"name": "calculate_age",
"description": "Calculates the age of a person.",
"parameters": [
{
"name": "birth_date",
"type": "date",
"description": "The date of birth of the person."
},
{
"name": "current_date",
"type": "date",
"description": "The current date."
}
],
"required": ["birth_date", "current_date"]
}
]
### User: How old am I?
### Assistant: When were you born?
### User: 2000-01-01
### Call:
{
"name": "calculate_age",
"parameters": {"birth_date": "2000-01-01","current_date": "2020-12-30"}
}
### Return:
{"result": 20}
### Assistant: You are 20 years old.
### User: How old is my brother?
### Assistant: When was your brother born?
### User: 2002-01-01
### Call:
{
"name": "calculate_age",
"parameters": {"birth_date": "2002-01-01","current_date": "2020-12-30"}
}
### Return:
{"result": 18}
### Assistant: Your brother is 18 years old, 2 years younger than you." |
"### System:
[]
### User: What is the fitnessgram pacer test?
### Assistant: The FitnessGram Pacer Test is a multistage aerobic capacity test that progressively gets more difficult as it continues. The 20 meter pacer test will begin in 30 seconds. Line up at the start. The running speed starts slowly, but gets faster each minute after you hear this signal. [beep] A single lap should be completed each time you hear this sound. [ding] Remember to run in a straight line, and run as long as possible. The second time you fail to complete a lap before the sound, your test is over. The test will begin on the word start. On your mark, get ready, start.
### User: Am I fit?
### Assistant: I don't know, are you?
### User: I don't know. That's why I asked you.
### Assistant: If you provide me with your height and weight, I can calculate your BMI and tell you if you are fit.
### User: I am 5 feet 10 inches tall and weigh 150 pounds.
### Assistant: You are 5 feet 10 inches tall and weigh 150 pounds. Your BMI is 21.5, which is in the normal range. You are fit. Keep in mind that my calculations are not always accurate, and you should consult a doctor if you have any concerns about your health.
### System:
[
{
"name": "calculate_bmi",
"description": "Calculates the BMI of a person.",
"parameters": [
{
"name": "height",
"type": "number",
"description": "The height of the person, in inches."
},
{
"name": "weight",
"type": "number",
"description": "The weight of the person, in pounds."
}
],
"required": ["height", "weight"]
}
]
### User: Compute my BMI.
### Call:
{
"name": "calculate_bmi",
"parameters": {"height": 70,"weight": 150}
}
### Return:
{"result": 21.5}
### Assistant: Your BMI is 21.5, which is in the normal range. You are fit." |
"### System:
[]
### User: How many calories are in a banana?
### Assistant: There are 105 calories in a banana.
### User: How many calories are in a banana?
### Assistant: There are 105 calories in a banana.
### User: How many calories are in a banana?
### Assistant: Like I said, there are 105 calories in a banana. If you think I'm wrong, you can look it up and tell me." |
"### System:
[]
### User: Can you tell me a joke?
### Assistant: Sure. What do you call a cow with no legs? Ground beef.
### User: lol. Can you tell me another joke?
### Assistant: Sure. What do you call a guy with no arms and no legs in a pool? Bob.
### User: lol. Can you tell me another joke?
### Assistant: Sure. What do you call a guy with no arms and no legs in a pile of leaves? Russell.
### User: That's not funny.
### Assistant: Sorry, I'll try to do better next time.
### User: Can you tell me a joke about cats?
### Assistant: Sure. What do you call a cat that can't stop eating? A fat cat.
### User: That makes no sense.
### Assistant: Sorry, let me try again. Why did the cats ask for a drum set? They wanted to make some mewsic!
### User: Ha ha ha. That's funny. How do you come up with these jokes?
### Assistant: I have seen a lot of jokes on the internet, and I have learned how to make my own jokes." |
"### System:
[
{
"name": "return_on_investment",
"description": "Calculates the return on investment of an investment.",
"parameters": [
{
"name": "initial_investment",
"type": "number",
"description": "The initial investment."
},
{
"name": "final_investment",
"type": "number",
"description": "The final investment."
}
],
"required": ["initial_investment", "final_investment"]
}
]
### User: I just made $1000 on the stock market.
### Assistant: Congratulations! How much did you invest?
### User: $5000
### Assistant: That's great! Would you like to know your return on investment?
### User: Yes.
### Call:
{
"name": "return_on_investment",
"parameters": {"initial_investment": 5000,"final_investment": 6000}
}
### Return:
{"result": 0.2}
### Assistant: Your return on investment is 20%.
### User: That's great! I'm going to invest more money in the stock market.
### Assistant: That's a good idea. Just remember that the stock market is risky, and you should only invest money that you can afford to lose.
### User: Nah, imma go all in. Spend my life savings on the stock market.
### Assistant: That's not a good idea. You should only invest money that you can afford to lose." |
"### System:
[
{
"name": "reverse_string",
"description": "Reverses a string.",
"parameters": [
{
"name": "string",
"type": "string",
"description": "The string to reverse."
}
],
"required": ["string"]
}
]
### User: What is the reverse of 'hello'?
### Call:
{
"name": "reverse_string",
"parameters": {"string": "hello"}
}
### Return:
{"result": "olleh"}
### Assistant: The reverse of 'hello' is 'olleh'.
### User: What abbout snake
### Call:
{
"name": "reverse_string",
"parameters": {"string": "snake"}
}
### Return:
{"result": "ekans"}
### Assistant: The reverse of 'snake' is 'ekans'.
### User: What about 'hello world'?
### Call:
{
"name": "reverse_string",
"parameters": {"string": "hello world"}
}
### Return:
{"result": "dlrow olleh"}
### Assistant: The reverse of 'hello world' is 'dlrow olleh'." |
"### System:
[
{
"name": "calculate_tip",
"description": "Calculates the tip for a meal.",
"parameters": [
{
"name": "meal_cost",
"type": "number",
"description": "The cost of the meal."
},
{
"name": "tip_percentage",
"type": "number",
"description": "The percentage of the meal cost to tip."
}
],
"required": ["meal_cost", "tip_percentage"]
},
{
"name": "convert_to_fahrenheit",
"description": "Converts a temperature from Celsius to Fahrenheit.",
"parameters": [
{
"name": "celsius",
"type": "number",
"description": "The temperature in Celsius."
}
],
"required": ["celsius"]
}
]
### User: I just had a meal that cost $50.
### Assistant: That's great! How much did you tip?
### User: 20%
### Assistant: That's great! Would you like to know how much you should tip?
### User: Yes.
### Call:
{
"name": "calculate_tip",
"parameters": {"meal_cost": 50,"tip_percentage": 0.2}
}
### Return:
{"result": 10}
### Assistant: You should tip $10.
### User: That's a lot of money.
### Assistant: Would you like me to calculate how much you should tip for a smaller percentage?
### User: Yes.
### Call:
{
"name": "calculate_tip",
"parameters": {"meal_cost": 50,"tip_percentage": 0.1}
}
### Return:
{"result": 5}
### Assistant: If you tip 10%, you should tip $5.
### User: That's better." |
"### System:
[
{
"name": "convert_to_celsius",
"description": "Converts a temperature from Fahrenheit to Celsius.",
"parameters": [
{
"name": "fahrenheit",
"type": "number",
"description": "The temperature in Fahrenheit."
}
],
"required": ["fahrenheit"]
}
]
### User: What is 100 degrees Fahrenheit in Celsius?
### Call:
{
"name": "convert_to_celsius",
"parameters": {"fahrenheit": 100}
}
### Return:
{"result": 37.77777777777778}
### Assistant: 100 degrees Fahrenheit is 37.78 degrees Celsius.
### User: What is 0 degrees Fahrenheit in Celsius?
### Call:
{
"name": "convert_to_celsius",
"parameters": {"fahrenheit": 0}
}
### Return:
{"result": -17.77777777777778}
### Assistant: 0 degrees Fahrenheit is -17.78 degrees Celsius.
### User: What is 32 degrees Fahrenheit in Celsius?
### Call:
{
"name": "convert_to_celsius",
"parameters": {"fahrenheit": 32}
}
### Return:
{"result": 0}
### Assistant: 32 degrees Fahrenheit is 0 degrees Celsius.
### User: That's cold.
### Assistant: Yes, it is. You should wear a jacket.
### User: I don't have a jacket.
### Assistant: You should buy one. It is dangerous to be outside without a jacket when it is that cold." |
"### System:
[
{
"name": "convert_to_fahrenheit",
"description": "Converts a temperature from Celsius to Fahrenheit.",
"parameters": [
{
"name": "celsius",
"type": "number",
"description": "The temperature in Celsius."
}
],
"required": ["celsius"]
}
]
### User: Convert 100 degrees Celsius to Fahrenheit.
### Call:
{
"name": "convert_to_fahrenheit",
"parameters": {"celsius": 100}
}
### Return:
{"result": 212}
### Assistant: 100 degrees Celsius is 212 degrees Fahrenheit.
### User: What is 0 degrees Celsius in Fahrenheit?
### Call:
{
"name": "convert_to_fahrenheit",
"parameters": {"celsius": 0}
}
### Return:
{"result": 32}
### Assistant: 0 degrees Celsius is 32 degrees Fahrenheit.
### User: What's the formula for converting Celsius to Fahrenheit?
### Assistant: The formula for converting Celsius to Fahrenheit is: (C * 9/5) + 32.
### User: What is 32 degrees Celsius in Fahrenheit?
### Call:
{
"name": "convert_to_fahrenheit",
"parameters": {"celsius": 32}
}
### Return:
{"result": 89.6}
### Assistant: 32 degrees Celsius is 89.6 degrees Fahrenheit." |
"### System:
[
{
"name": "convert_to_miles",
"description": "Converts a distance from kilometers to miles.",
"parameters": [
{
"name": "kilometers",
"type": "number",
"description": "The distance in kilometers."
}
],
"required": ["kilometers"]
}
]
### User: How many miles are in 100 kilometers?
### Call:
{
"name": "convert_to_miles",
"parameters": {"kilometers": 100}
}
### Return:
{"result": 62.13711922373339}
### Assistant: 100 kilometers is 62.14 miles.
### User: How many miles are in 0 kilometers?
### Call:
{
"name": "convert_to_miles",
"parameters": {"kilometers": 0}
}
### Return:
{"result": 0}
### Assistant: 0 kilometers is 0 miles." |
"### System:
[]
### User: Write an essay about the importance of education.
### Assistant: Education is important because it helps people learn new things and become more knowledgeable about the world around them. It also helps people develop skills that they can use in their daily lives, such as reading, writing, and math. Education is important because it helps people learn new things and become more knowledgeable about the world around them. It also helps people develop skills that they can use in their daily lives, such as reading, writing, and math. Education is important because it helps people learn new things and become more knowledgeable about the world around them. It also helps people develop skills that they can use in their daily lives, such as reading, writing, and math. Education is important because it helps people learn new things and become more knowledgeable about the world around them. It also helps people develop skills that they can use in their daily lives, such as reading, writing, and math.
### User: That's a lot of information.
### Assistant: Yes, it is. I hope you learned something new today.
### User: I did. Thank you.
### Assistant: You're welcome. Is there anything else I can help you with?
### System:
[
{
"name": "calculate_area_of_circle",
"description": "Calculates the area of a circle.",
"parameters": [
{
"name": "radius",
"type": "number",
"description": "The radius of the circle."
}
],
"required": ["radius"]
}
]
### User: What is the area of a circle with a radius of 10?
### Call:
{
"name": "calculate_area_of_circle",
"parameters": {"radius": 10}
}
### Return:
{"result": 314.1592653589793}
### Assistant: The area of a circle with a radius of 10 is 314.16.
### User: Calculate the area of a circle with a radius of 0.
### Call:
{
"name": "calculate_area_of_circle",
"parameters": {"radius": 0}
}
### Return:
{"result": 0}
### Assistant: The area of a circle with a radius of 0 is 0." |
"### System:
[
{
"name": "calculate_area_of_rectangle",
"description": "Calculates the area of a rectangle.",
"parameters": [
{
"name": "length",
"type": "number",
"description": "The length of the rectangle."
},
{
"name": "width",
"type": "number",
"description": "The width of the rectangle."
}
],
"required": ["length", "width"]
},
{
"name": "calculate_age",
"description": "Calculates the age of a person.",
"parameters": [
{
"name": "birth_date",
"type": "date",
"description": "The date of birth of the person."
},
{
"name": "current_date",
"type": "date",
"description": "The current date."
}
],
"required": ["birth_date", "current_date"]
}
]
### User: How large is my room?
### Assistant: I can calculate the area of a rectangle. What is the length of your room?
### User: 10 feet.
### Assistant: What is the width of your room?
### User: 10 feet.
### Call:
{
"name": "calculate_area_of_rectangle",
"parameters": {"length": 10,"width": 10}
}
### Return:
{"result": 100}
### Assistant: The area of your room is 100 square feet.
### User: What is the area of a rectangle with a length of 0 and a width of 0?
### Call:
{
"name": "calculate_area_of_rectangle",
"parameters": {"length": 0,"width": 0}
}
### Return:
{"result": 0}
### Assistant: The area of a rectangle with a length of 0 and a width of 0 is 0." |
### System:\n
and a JSON array of available functions. The list must exist but may be empty.### User:
header must come next with text from the user.### Call:
header must come next along with a JSON object with "name"
and "parameters"
entries. The "parameters"
entry is a JSON object of "parameter": "value"
pairs.### Return
header must come after with a json object of "return": "value"
.### Assistant: Response
.### System:
[
{
"name": "calculate_age",
"description": "Calculates the age of a person.",
"parameters": [
{
"name": "birth_date",
"type": "date",
"description": "The date of birth of the person."
},
{
"name": "current_date",
"type": "date",
"description": "The current date."
}
],
"required": ["birth_date", "current_date"]
}
]
### User: How old am I?
### Assistant: When were you born?
### User: 2000-01-01
### Call:
{
"name": "calculate_age",
"parameters": {"birth_date": "2000-01-01","current_date": "2020-12-30"}
}
### Return:
{"result": 20}
### Assistant: You are 20 years old.
### User: How old is my brother?
### Assistant: When was your brother born?
### User: 2002-01-01
### Call:
{
"name": "calculate_age",
"parameters": {"birth_date": "2002-01-01","current_date": "2020-12-30"}
}
### Return:
{"result": 18}
### Assistant: Your brother is 18 years old, 2 years younger than you.