Hello All,
I have a json data and I would like to train ChatGPT model using this JSON data. I followed steps to create JSONL from JSON but got error as “ERROR in necessary_column validator: prompt
column/key is missing. Please make sure you name your columns/keys appropriately, then retry”
Here’s how my JSON data looks like:
{
"folders": [
{
"name": "User1",
"id": "dfsFGGES:1",
"projects": [
{
"name": "chatgpt",
"id": "Noc29sdX",
"files": [
{
"name": "Test1",
"id": "guI4wU",
"createdBy": "User 1",
"data": {
"name": "Test1-new",
"items": [
{
"name": "abc",
"type": "cloth",
"items": [
{
"name": "abc",
"type": "fabric"
},
{
"name": "pqr",
"type": "fabric"
}
]
}
]
}
},
{
"name": "Test1",
"id": "guI4wU",
"createdBy": "User 1",
"data": {
"name": "Test1-new",
"items": [
{
"name": "abc",
"type": "cloth",
"items": [
{
"name": "abc",
"type": "fabric"
},
{
"name": "pqr",
"type": "fabric"
}
]
}
]
}
}
]
},
{
"name": "Test1",
"id": "guI4wU",
"createdBy": "User 1",
"data": {
"name": "Test1-new",
"items": [
{
"name": "abc",
"type": "cloth",
"items": [
{
"name": "abc",
"type": "fabric"
},
{
"name": "pqr",
"type": "fabric"
}
]
}
]
}
}
]
},
{
"name": "User1",
"id": "dfsFGGES:1",
"projects": [
{
"name": "chatgpt",
"id": "Noc29sdX",
"files": [
{
"name": "Test1",
"id": "guI4wU",
"createdBy": "User 1",
"data": {
"name": "Test1-new",
"items": [
{
"name": "abc",
"type": "cloth",
"items": [
{
"name": "abc",
"type": "fabric"
},
{
"name": "pqr",
"type": "fabric"
}
]
}
]
}
},
{
"name": "Test1",
"id": "guI4wU",
"createdBy": "User 1",
"data": {
"name": "Test1-new",
"items": [
{
"name": "abc",
"type": "cloth",
"items": [
{
"name": "abc",
"type": "fabric"
},
{
"name": "pqr",
"type": "fabric"
}
]
}
]
}
}
]
},
{
"name": "Test1",
"id": "guI4wU",
"createdBy": "User 1",
"data": {
"name": "Test1-new",
"items": [
{
"name": "abc",
"type": "cloth",
"items": [
{
"name": "abc",
"type": "fabric"
},
{
"name": "pqr",
"type": "fabric"
}
]
}
]
}
}
]
}
]
}
I followed steps as mentioned at: “OpenAI API”
Can someone help how can I train ChatGPT using JSON data.