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
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
task_categories:
|
| 4 |
+
- text-generation
|
| 5 |
+
language:
|
| 6 |
+
- vi
|
| 7 |
+
- en
|
| 8 |
+
tags:
|
| 9 |
+
- agent
|
| 10 |
+
- tool-use
|
| 11 |
+
- search
|
| 12 |
+
- react
|
| 13 |
+
- multi-turn
|
| 14 |
+
size_categories:
|
| 15 |
+
- 1K<n<10K
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
# Search-Agentic-v1 Dataset
|
| 19 |
+
|
| 20 |
+
This dataset contains agentic trajectories (ReAct format) in English and Vietnamese designed for agentic fine-tuning. The agent has access to web search and web page reading tools.
|
| 21 |
+
|
| 22 |
+
## Dataset Structure
|
| 23 |
+
|
| 24 |
+
Each record contains the following fields:
|
| 25 |
+
- **`id`**: SHA-256 hash of the initial user prompt, serving as a unique identifier.
|
| 26 |
+
- **`lang`**: Linguistic attribution, either `"en"` (English) or `"vi"` (Vietnamese).
|
| 27 |
+
- **`tools`**: Comprehensive list of function tools available to the model (in standard JSON Schema format).
|
| 28 |
+
- **`messages`**: Multi-turn roleplay conversation (`user`, `assistant`, `tool`), where the assistant emits a tool call along with its reasoning/thoughts, receives the tool response, and concludes the conversation.
|
| 29 |
+
|
| 30 |
+
### Supported Tools:
|
| 31 |
+
1. **`web_search`**: Execute web searches with pagination and advanced filtering.
|
| 32 |
+
2. **`web_url_read`**: Read web page content converted directly to Markdown.
|
| 33 |
+
|
| 34 |
+
## Sample Record
|
| 35 |
+
|
| 36 |
+
Below is a sample record from the dataset showcasing the multi-turn agentic trajectory, tool schemas, and reasoning/thoughts:
|
| 37 |
+
|
| 38 |
+
```json
|
| 39 |
+
{
|
| 40 |
+
"id": "74151eb57b851c48bbb29e53cb9799d59c816065059362506597533364c95c24",
|
| 41 |
+
"lang": "en",
|
| 42 |
+
"tools": [
|
| 43 |
+
{
|
| 44 |
+
"type": "function",
|
| 45 |
+
"function": {
|
| 46 |
+
"name": "web_search",
|
| 47 |
+
"description": "Execute web searches with pagination",
|
| 48 |
+
"parameters": {
|
| 49 |
+
"type": "object",
|
| 50 |
+
"properties": {
|
| 51 |
+
"query": {
|
| 52 |
+
"type": "string",
|
| 53 |
+
"description": "The search query. This string is passed to external search services."
|
| 54 |
+
},
|
| 55 |
+
"pageno": {
|
| 56 |
+
"type": "number",
|
| 57 |
+
"description": "Search page number, starts at 1 (default 1)"
|
| 58 |
+
},
|
| 59 |
+
"time_range": {
|
| 60 |
+
"type": "string",
|
| 61 |
+
"enum": [
|
| 62 |
+
"day",
|
| 63 |
+
"week",
|
| 64 |
+
"month",
|
| 65 |
+
"year"
|
| 66 |
+
],
|
| 67 |
+
"description": "Filter results by time range - one of: \"day\", \"week\", \"month\", \"year\" (default: none)"
|
| 68 |
+
},
|
| 69 |
+
"language": {
|
| 70 |
+
"type": "string",
|
| 71 |
+
"description": "Language code for results (e.g., \"en\", \"fr\", \"de\") or \"all\" (default: \"all\")"
|
| 72 |
+
},
|
| 73 |
+
"safesearch": {
|
| 74 |
+
"type": "string",
|
| 75 |
+
"enum": [
|
| 76 |
+
"0",
|
| 77 |
+
"1",
|
| 78 |
+
"2"
|
| 79 |
+
],
|
| 80 |
+
"description": "Safe search filter level, one of \"0\" (None), \"1\" (Moderate), or \"2\" (Strict). Legacy numeric values 0, 1, and 2 are still accepted for backward compatibility. (default: instance setting)"
|
| 81 |
+
}
|
| 82 |
+
},
|
| 83 |
+
"required": [
|
| 84 |
+
"query"
|
| 85 |
+
]
|
| 86 |
+
}
|
| 87 |
+
}
|
| 88 |
+
},
|
| 89 |
+
{
|
| 90 |
+
"type": "function",
|
| 91 |
+
"function": {
|
| 92 |
+
"name": "web_url_read",
|
| 93 |
+
"description": "Read URL content as markdown with content-type-aware handling and advanced extraction options\nSupported readable content:\n- HTML is converted to markdown\n- JSON is pretty-printed in a fenced block\n- Plain text, YAML, TOML, XML, and other safe explicit text/* responses are returned as readable fenced text",
|
| 94 |
+
"parameters": {
|
| 95 |
+
"type": "object",
|
| 96 |
+
"properties": {
|
| 97 |
+
"url": {
|
| 98 |
+
"type": "string",
|
| 99 |
+
"description": "The URL to fetch and process"
|
| 100 |
+
},
|
| 101 |
+
"startChar": {
|
| 102 |
+
"type": "number",
|
| 103 |
+
"description": "Starting character position for content extraction (default: 0)"
|
| 104 |
+
},
|
| 105 |
+
"maxLength": {
|
| 106 |
+
"type": "number",
|
| 107 |
+
"description": "Maximum number of characters to return"
|
| 108 |
+
}
|
| 109 |
+
},
|
| 110 |
+
"required": [
|
| 111 |
+
"url"
|
| 112 |
+
]
|
| 113 |
+
}
|
| 114 |
+
}
|
| 115 |
+
}
|
| 116 |
+
],
|
| 117 |
+
"messages": [
|
| 118 |
+
{
|
| 119 |
+
"role": "user",
|
| 120 |
+
"content": "what's the latest on the massive earthquake that just hit the coast of Chile?"
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"role": "assistant",
|
| 124 |
+
"tool_calls": [
|
| 125 |
+
{
|
| 126 |
+
"type": "function",
|
| 127 |
+
"id": "call_b24c29c580074b55f18ba138",
|
| 128 |
+
"function": {
|
| 129 |
+
"name": "web_search",
|
| 130 |
+
"arguments": "{\"query\": \"Chile earthquake latest\", \"time_range\": \"day\", \"language\": \"en\"}"
|
| 131 |
+
}
|
| 132 |
+
}
|
| 133 |
+
],
|
| 134 |
+
"reasoning_content": "The user asks for the latest on a massive earthquake that just hit the coast of Chile. This is a breaking news event, so I need to find the most recent information. I will use a web search with a time_range of 'day' to filter for results from the last 24 hours, as the earthquake is described as having 'just hit'. The query will combine 'Chile', 'earthquake', and 'latest' to capture relevant news articles.",
|
| 135 |
+
"content": ""
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"role": "assistant",
|
| 139 |
+
"tool_calls": [
|
| 140 |
+
{
|
| 141 |
+
"type": "function",
|
| 142 |
+
"id": "call_caf75d947d535667713f856d",
|
| 143 |
+
"function": {
|
| 144 |
+
"name": "web_url_read",
|
| 145 |
+
"arguments": "{\"url\": \"https://www.reuters.com/world/americas/chile-earthquake-2026\", \"startChar\": 0, \"maxLength\": 5000}"
|
| 146 |
+
}
|
| 147 |
+
}
|
| 148 |
+
],
|
| 149 |
+
"reasoning_content": "After obtaining search results, I need to read a detailed article from a reputable news source to get the full story, including magnitude, location, casualties, and tsunami warnings. I will open a Reuters article, as Reuters is a reliable international news agency that often covers such events. I set maxLength to 5000 to capture the main body of the article without overwhelming the response.",
|
| 150 |
+
"content": ""
|
| 151 |
+
}
|
| 152 |
+
]
|
| 153 |
+
}
|
| 154 |
+
```
|
| 155 |
+
|
| 156 |
+
## Dataset Distribution
|
| 157 |
+
|
| 158 |
+
- **Total Records**: 2,669 records (merged and shuffled)
|
| 159 |
+
- **English (`en`)**: 1,475 records
|
| 160 |
+
- **Vietnamese (`vi`)**: 1,194 records
|