Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code: DatasetGenerationError
Exception: TypeError
Message: Couldn't cast array of type list<item: struct<type: string, function: struct<name: string, description: string, parameters: struct<type: string, properties: struct<user_id: struct<type: string, description: string>, origin: struct<type: string, description: string>, destination: struct<type: string, description: string>, flight_type: struct<type: string, enum: list<item: string>>, cabin: struct<type: string, enum: list<item: string>>, flights: struct<type: string, description: string, items: struct<type: string, properties: struct<flight_number: struct<type: string, description: string>, date: struct<type: string, description: string>>, required: list<item: string>>>, passengers: struct<type: string, description: string, items: struct<type: string, properties: struct<first_name: struct<type: string, description: string>, last_name: struct<type: string, description: string>, dob: struct<type: string, description: string>>, required: list<item: string>>>, payment_methods: struct<type: string, description: string, items: struct<type: string, properties: struct<payment_id: struct<type: string, description: string>, amount: struct<type: string, description: string>>, required: list<item: string>>>, total_baggages: struct<type: string, description: string>, nonfree_baggages: struct<type: string, description: string>, insurance: struct<type: string, enum: list<item: string>>, expression: struct<type: string, description: string>, reservation_id: struct<type: string, description: string>, date: struct<type: string, description: string>, amount: struct<type: string, description: string>, summary: struct<type: string, description: string>, payment_id: struct<type: string, description: string>, flight_number: struct<type: string, description: string>>, required: list<item: string>>>>> to string
Traceback: Traceback (most recent call last):
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1831, in _prepare_split_single
writer.write_table(table)
File "/usr/local/lib/python3.12/site-packages/datasets/arrow_writer.py", line 714, in write_table
pa_table = table_cast(pa_table, self._schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2224, in cast_table_to_schema
cast_array_to_feature(
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1795, in wrapper
return pa.chunked_array([func(chunk, *args, **kwargs) for chunk in array.chunks])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2086, in cast_array_to_feature
return array_cast(
^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1797, in wrapper
return func(array, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 1950, in array_cast
raise TypeError(f"Couldn't cast array of type {_short_str(array.type)} to {_short_str(pa_type)}")
TypeError: Couldn't cast array of type list<item: struct<type: string, function: struct<name: string, description: string, parameters: struct<type: string, properties: struct<user_id: struct<type: string, description: string>, origin: struct<type: string, description: string>, destination: struct<type: string, description: string>, flight_type: struct<type: string, enum: list<item: string>>, cabin: struct<type: string, enum: list<item: string>>, flights: struct<type: string, description: string, items: struct<type: string, properties: struct<flight_number: struct<type: string, description: string>, date: struct<type: string, description: string>>, required: list<item: string>>>, passengers: struct<type: string, description: string, items: struct<type: string, properties: struct<first_name: struct<type: string, description: string>, last_name: struct<type: string, description: string>, dob: struct<type: string, description: string>>, required: list<item: string>>>, payment_methods: struct<type: string, description: string, items: struct<type: string, properties: struct<payment_id: struct<type: string, description: string>, amount: struct<type: string, description: string>>, required: list<item: string>>>, total_baggages: struct<type: string, description: string>, nonfree_baggages: struct<type: string, description: string>, insurance: struct<type: string, enum: list<item: string>>, expression: struct<type: string, description: string>, reservation_id: struct<type: string, description: string>, date: struct<type: string, description: string>, amount: struct<type: string, description: string>, summary: struct<type: string, description: string>, payment_id: struct<type: string, description: string>, flight_number: struct<type: string, description: string>>, required: list<item: string>>>>> to string
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1455, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1054, in convert_to_parquet
builder.download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 894, in download_and_prepare
self._download_and_prepare(
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 970, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1858, in _prepare_split_single
raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the datasetNeed help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.
tools string | messages list |
|---|---|
[{"type": "function", "function": {"name": "book_reservation", "description": "Book a reservation.", "parameters": {"type": "object", "properties": {"user_id": {"type": "string", "description": "The ID of the user to book the reservation, such as 'sara_doe_496'."}, "origin": {"type": "string", "description": "The IATA ... | [
{
"role": "system",
"content": "You are a customer service agent that helps the user according to the policy provided below.\nIn each turn you can either:\n- Send a message to the user.\n- Make a tool call.\nYou cannot do both at the same time.\n\nTry to be helpful and always follow the policy. Always make ... |
[{"type": "function", "function": {"name": "book_reservation", "description": "Book a reservation.", "parameters": {"type": "object", "properties": {"user_id": {"type": "string", "description": "The ID of the user to book the reservation, such as 'sara_doe_496'."}, "origin": {"type": "string", "description": "The IATA ... | [
{
"role": "system",
"content": "You are a customer service agent that helps the user according to the policy provided below.\nIn each turn you can either:\n- Send a message to the user.\n- Make a tool call.\nYou cannot do both at the same time.\n\nTry to be helpful and always follow the policy. Always make ... |
[{"type": "function", "function": {"name": "book_reservation", "description": "Book a reservation.", "parameters": {"type": "object", "properties": {"user_id": {"type": "string", "description": "The ID of the user to book the reservation, such as 'sara_doe_496'."}, "origin": {"type": "string", "description": "The IATA ... | [
{
"role": "system",
"content": "You are a customer service agent that helps the user according to the policy provided below.\nIn each turn you can either:\n- Send a message to the user.\n- Make a tool call.\nYou cannot do both at the same time.\n\nTry to be helpful and always follow the policy. Always make ... |
[{"type": "function", "function": {"name": "book_reservation", "description": "Book a reservation.", "parameters": {"type": "object", "properties": {"user_id": {"type": "string", "description": "The ID of the user to book the reservation, such as 'sara_doe_496'."}, "origin": {"type": "string", "description": "The IATA ... | [
{
"role": "system",
"content": "You are a customer service agent that helps the user according to the policy provided below.\nIn each turn you can either:\n- Send a message to the user.\n- Make a tool call.\nYou cannot do both at the same time.\n\nTry to be helpful and always follow the policy. Always make ... |
[{"type": "function", "function": {"name": "book_reservation", "description": "Book a reservation.", "parameters": {"type": "object", "properties": {"user_id": {"type": "string", "description": "The ID of the user to book the reservation, such as 'sara_doe_496'."}, "origin": {"type": "string", "description": "The IATA ... | [
{
"role": "system",
"content": "You are a customer service agent that helps the user according to the policy provided below.\nIn each turn you can either:\n- Send a message to the user.\n- Make a tool call.\nYou cannot do both at the same time.\n\nTry to be helpful and always follow the policy. Always make ... |
[{"type": "function", "function": {"name": "book_reservation", "description": "Book a reservation.", "parameters": {"type": "object", "properties": {"user_id": {"type": "string", "description": "The ID of the user to book the reservation, such as 'sara_doe_496'."}, "origin": {"type": "string", "description": "The IATA ... | [
{
"role": "system",
"content": "You are a customer service agent that helps the user according to the policy provided below.\nIn each turn you can either:\n- Send a message to the user.\n- Make a tool call.\nYou cannot do both at the same time.\n\nTry to be helpful and always follow the policy. Always make ... |
"[{\"type\": \"function\", \"function\": {\"name\": \"book_reservation\", \"description\": \"Book a (...TRUNCATED) | [{"role":"system","content":"You are a customer service agent that helps the user according to the p(...TRUNCATED) |
"[{\"type\": \"function\", \"function\": {\"name\": \"book_reservation\", \"description\": \"Book a (...TRUNCATED) | [{"role":"system","content":"You are a customer service agent that helps the user according to the p(...TRUNCATED) |
"[{\"type\": \"function\", \"function\": {\"name\": \"book_reservation\", \"description\": \"Book a (...TRUNCATED) | [{"role":"system","content":"You are a customer service agent that helps the user according to the p(...TRUNCATED) |
"[{\"type\": \"function\", \"function\": {\"name\": \"book_reservation\", \"description\": \"Book a (...TRUNCATED) | [{"role":"system","content":"You are a customer service agent that helps the user according to the p(...TRUNCATED) |
End of preview.
No dataset card yet
- Downloads last month
- 14