com.suibari.nagi.setPostMood
感情グラフの点(自分の投稿の気分)を本人が直す。valence を省くと LLM の採点に戻す。直せるのはいまグラフに出ている点だけで、中立と判定された投稿は対象外。
Details · procedure
| Kind | procedure |
|---|---|
| Authority | nagi.suibari.com |
| Indexed |
Checks
Validunlimited-stringdefs.moodView.properties.dateNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.moodView.properties.moderationLabels.itemsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.moodView.properties.selfLabels.itemsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.moodView.properties.textNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "感情グラフの点(自分の投稿の気分)を本人が直す。valence を省くと LLM の採点に戻す。直せるのはいまグラフに出ている点だけで、中立と判定された投稿は対象外。",
"errors": [
{
"name": "AuthRequired"
},
{
"name": "InvalidRequest"
},
{
"name": "NotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"uri": {
"format": "at-uri",
"maxLength": 2048,
"type": "string"
},
"valence": {
"description": "-5〜+5。0 は不可(中立はグラフに載らない)。省くと LLM の値に戻す。",
"maximum": 5,
"minimum": -5,
"type": "integer"
}
},
"required": [
"uri"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"mood": {
"description": "直したあとの点。LLM の値に戻した結果グラフから外れたときは省く。",
"ref": "#moodView",
"type": "ref"
}
},
"type": "object"
}
},
"type": "procedure"
},
"moodView": {
"properties": {
"createdAt": {
"format": "datetime",
"type": "string"
},
"date": {
"type": "string"
},
"edited": {
"type": "boolean"
},
"moderationLabels": {
"items": {
"type": "string"
},
"type": "array"
},
"selfLabels": {
"items": {
"type": "string"
},
"type": "array"
},
"text": {
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
},
"valence": {
"maximum": 5,
"minimum": -5,
"type": "integer"
}
},
"required": [
"uri",
"date",
"createdAt",
"valence",
"text"
],
"type": "object"
}
},
"id": "com.suibari.nagi.setPostMood",
"lexicon": 1
}