mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
New Message Structure
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"enabled": false
|
"enabled": false
|
||||||
},
|
},
|
||||||
"conversation_id": {
|
"sessionId": {
|
||||||
"ignore_above": 1024,
|
"ignore_above": 1024,
|
||||||
"type": "keyword"
|
"type": "keyword"
|
||||||
},
|
},
|
||||||
@@ -37,6 +37,54 @@
|
|||||||
"userId": {
|
"userId": {
|
||||||
"ignore_above": 1024,
|
"ignore_above": 1024,
|
||||||
"type": "keyword"
|
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user