Skip to content

Instantly share code, notes, and snippets.

@milad621
Created September 29, 2023 17:29
Show Gist options
  • Save milad621/0d4bd21a076a8d6cb9d560e7249c1bfd to your computer and use it in GitHub Desktop.
Save milad621/0d4bd21a076a8d6cb9d560e7249c1bfd to your computer and use it in GitHub Desktop.
{
"api_list": [
{
"category_name": "Logistics",
"tool_name": "SQUAKE",
"api_name": "Checkhealth",
"api_description": " ",
"required_parameters": [],
"optional_parameters": [],
"method": "GET"
},
{
"category_name": "Logistics",
"tool_name": "SQUAKE",
"api_name": "Projects",
"api_description": " ",
"required_parameters": [],
"optional_parameters": [],
"method": "GET"
}
],
"query": "I'm working on a logistics project for my company and need to check the health of the SQUAKE API. Can you verify the API health by calling the 'Checkhealth' API endpoint? Additionally, I would like to retrieve the list of projects using the 'Projects' API endpoint.",
"relevant APIs": [
[
"SQUAKE",
"Checkhealth"
],
[
"SQUAKE",
"Projects"
]
],
"query_id": 1
},
{
"api_list": [
{
"category_name": "Logistics",
"tool_name": "SQUAKE",
"api_name": "Checkhealth",
"api_description": " ",
"required_parameters": [],
"optional_parameters": [],
"method": "GET"
},
{
"category_name": "Logistics",
"tool_name": "SQUAKE",
"api_name": "Projects",
"api_description": " ",
"required_parameters": [],
"optional_parameters": [],
"method": "GET"
}
],
"query": "As a sustainability enthusiast, I'm interested in exploring the projects available on the SQUAKE platform. Could you fetch the list of projects using the 'Projects' API? Additionally, I would like to check the health of the SQUAKE API using the 'Checkhealth' API.",
"relevant APIs": [
[
"SQUAKE",
"Checkhealth"
],
[
"SQUAKE",
"Projects"
]
],
"query_id": 2
},
{
"api_list": [
{
"category_name": "Logistics",
"tool_name": "SQUAKE",
"api_name": "Checkhealth",
"api_description": " ",
"required_parameters": [],
"optional_parameters": [],
"method": "GET"
},
{
"category_name": "Logistics",
"tool_name": "SQUAKE",
"api_name": "Projects",
"api_description": " ",
"required_parameters": [],
"optional_parameters": [],
"method": "GET"
}
],
"query": "I'm organizing a sustainability event for my community and would like to showcase various projects promoting eco-friendly practices. Could you provide me with a list of projects available on the SQUAKE platform using the 'Projects' API? Additionally, I would like to check the health of the SQUAKE API using the 'Checkhealth' API.",
"relevant APIs": [
[
"SQUAKE",
"Checkhealth"
],
[
"SQUAKE",
"Projects"
]
],
"query_id": 3
},
{
"api_list": [
{
"category_name": "Logistics",
"tool_name": "SQUAKE",
"api_name": "Checkhealth",
"api_description": " ",
"required_parameters": [],
"optional_parameters": [],
"method": "GET"
},
{
"category_name": "Logistics",
"tool_name": "SQUAKE",
"api_name": "Projects",
"api_description": " ",
"required_parameters": [],
"optional_parameters": [],
"method": "GET"
}
],
"query": "My friend and I are passionate about sustainability and want to contribute to projects that promote eco-friendly practices. Can you fetch the list of projects available on the SQUAKE platform using the 'Projects' API? Additionally, I would like to check the health of the SQUAKE API using the 'Checkhealth' API.",
"relevant APIs": [
[
"SQUAKE",
"Checkhealth"
],
[
"SQUAKE",
"Projects"
]
],
"query_id": 4
}
4:17
I'm a teacher planning a virtual class and I want to use educational videos. Can you search for YouTube channels related to education and fetch the videos from these channels? Also, provide me with the details of each video, including the length and description.
4:18
],
"method": "GET",
"template_response": {
"contents": [
{
"index": "int",
"type": "str",
"video": {
"author": {
"canonicalBaseUrl": "str",
"channelId": "str",
"title": "str"
},
"isLiveNow": "bool",
"lengthSeconds": "int",
"thumbnails": [
{
"height": "int",
"url": "str",
"width": "int",
"_list_length": 4
}
],
"title": "str",
"videoId": "str"
},
"_list_length": 100
}
],
"cursorNext": "NoneType"
}
},
{
"category_name": "Data",
"tool_name": "YouTube",
"api_name": "Playlist Details",
"api_description": "Playlist Details",
"required_parameters": [
{
"name": "id",
"type": "STRING",
"description": "Playlist ID",
"default": "PLcirGkCPmbmFeQ1sm4wFciF03D_EroIfr"
}
],
"optional_parameters": [
{
"name": "gl",
"type": "STRING",
"description": "",
"default": "US"
},
{
"name": "hl",
"type": "STRING",
"description": "",
"default": "en"
}
],
"method": "GET",
"template_response": {
"author": {
"avatar": [
{
"height": "int",
"url": "str",
"width": "int",
"_list_length": 3
}
],
"canonicalBaseUrl": "str",
"channelId": "str",
"title": "str"
},
"badges": "empty list",
"description": "str",
"playlistId": "str",
"stats": {
"videos": "int",
"views": "int"
},
"thumbnails": [
{
"height": "int",
"url": "str",
"width": "int",
"_list_length": 4
}
],
"title": "str",
"updatedTime": "str",
"updatedTimeText": "str"
}
},
{
"category_name": "Data",
"tool_name": "YouTube",
"api_name": "Video Related Contents",
"api_description": "Video Related Contents",
"required_parameters": [],
"optional_parameters": [
{
"name": "cursor",
"type": "STRING",
"description": "Cursor token",
"default": ""
},
{
"name": "id",
"type": "STRING",
"description": "Video ID",
"default": "kJQP7kiw5Fk"
},
{
"name": "gl",
"type": "STRING",
"description": "",
"default": "US"
},
{
"name": "hl",
"type": "STRING",
"description": "",
"default": "en"
}
],
"method": "GET",
"template_response": {
"contents": [
{
"type": "str",
"video": {
"author": {
"avatar": [
{
"height": "int",
"url": "str",
"width": "int",
"_list_length": 1
}
],
"badges": "empty list",
"title": "str"
},
"isLiveNow": "bool",
"lengthSeconds": "int",
"publishedTimeText": "str",
"stats": {
"views": "int"
},
"thumbnails": [
{
"height": "int",
"url": "str",
"width": "int",
"_list_length": 2
}
],
"title": "str",
"videoId": "str"
},
"_list_length": 20
}
],
"cursorNext": "NoneType"
}
}
],
"query": "I'm a teacher planning a virtual class and I want to use educational videos. Can you search for YouTube channels related to education and fetch the videos from these channels? Also, provide me with the details of each video, including the length and description.",
"relevant APIs": [
[
"YouTube",
"Channel Search"
],
[
"YouTube",
"Channel Videos"
],
[
"YouTube",
"Video Details"
]
],
"query_id": 67423
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment