New Message Structure

This commit is contained in:
Corey Ogburn
2025-07-30 13:14:09 -06:00
parent 6323fbf46b
commit b1753f86f9

View File

@@ -23,7 +23,7 @@
"type": "object",
"enabled": false
},
"conversation_id": {
"sessionId": {
"ignore_above": 1024,
"type": "keyword"
},
@@ -37,6 +37,54 @@
"userId": {
"ignore_above": 1024,
"type": "keyword"
},
"message": {
"properties": {
"id": {
"ignore_above": 1024,
"type": "keyword"
},
"type": {
"ignore_above": 1024,
"type": "keyword"
},
"role": {
"ignore_above": 1024,
"type": "keyword"
},
"model": {
"ignore_above": 1024,
"type": "keyword"
},
"contentStr": {
"type": "text"
},
"contentBlocks": {
"type": "nested",
"enabled": false
},
"stopReason": {
"ignore_above": 1024,
"type": "keyword"
},
"stopSequence": {
"ignore_above": 1024,
"type": "keyword"
},
"usage": {
"properties": {
"input_tokens": {
"type": "long"
},
"output_tokens": {
"type": "long"
},
"credits": {
"type": "long"
}
}
}
}
}
}
}