The GreenNode format is a specialized structure tailored for Model Tuning, offering flexibility and scalability to ensure seamless compatibility. GreenNode format structures data to include roles, content, and optional system messages, ensuring compatibility with advanced training workflows. This article will guide you through:
GreenNode format is a standardized structure for preparing conversational datasets. Each entry includes:
This format ensures scalability, extensibility, and clarity in conversational datasets.
{
"messages": [
{"role": "user", "content": "What is the capital of France?"},
{"role": "assistant", "content": "The capital of France is Paris."},
{"role": "tool_call", "content": "{\"name\": \"lookup_city\", \"arguments\": {\"country\": \"France\"}}"},
{"role": "observation", "content": "{\"result\": \"Paris\"}"}
],
"system": "You are an intelligent assistant.",
"tools": [
{
"name": "lookup_city",
"description": "Finds the capital of a given country.",
"parameters": {
"type": "object",
"properties": {
"country": {"type": "string", "description": "Name of the country"}
},
"required": ["country"]
}
}
]
}
Source data from relevant conversations. Clean and standardize content (remove sensitive or irrelevant information).
Add metadata fields such as dataset source, license, and version.
Include system messages to provide context for the assistant’s role.
Alternate roles (user, assistant, tool_call, observation).