Files

50 lines
1.2 KiB
JSON

{
"schema": 1,
"id": "environment",
"name": "Environment",
"version": "1.2.0",
"description": "The estimated carbon, water and energy footprint of your conversations, by day, model and project",
"category": "dev",
"languages": ["en", "fr"],
"icon": "icon.svg",
"color": "#a67e7c",
"author": "gabrielvidal",
"ui": {
"pages": [
{
"id": "environment",
"label": "Environment",
"nav": "dashboards",
"html": "ui/environment.html",
"feature": "dash.environment"
}
],
"slots": [
{
"id": "conv-footprint",
"where": "conversation.details",
"html": "ui/conv-footprint.html",
"reuseFrame": true,
"height": 88,
"label": "Estimated footprint",
"vis": {
"key": "footprint",
"label": "Footprint",
"hint": "estimated carbon, water & energy of the conversation"
}
}
]
},
"actions": {
"footprint": {
"readOnly": true,
"script": "handlers/footprint.py",
"timeoutSec": 60,
"description": "Each conversation's estimated carbon, water and energy in a profile and date range"
}
},
"capabilities": [
"footprint.read"
]
}