Skip to content

Instantly share code, notes, and snippets.

@MathiasExorde
Created October 23, 2024 16:06
Show Gist options
  • Save MathiasExorde/1729b67fc020badabe66eda3d5c1d781 to your computer and use it in GitHub Desktop.
Save MathiasExorde/1729b67fc020badabe66eda3d5c1d781 to your computer and use it in GitHub Desktop.
Exorde Real time Stream API JSON example 1
{
"item": {
"raw_content": "rusya devlet başkanı vladimir putin: türkiye'ye başsağlığı diliyorum. tusaş'a yapılan terör saldırısını şiddetle kınıyorum.",
"translated_content": "Russian President vladimir putin: I wish to head to turkey. I strongly say terror attack on tusaş.",
"created_at": "2024-10-23T15:48:11.000Z",
"domain": "x.com",
"url": "https://x.com/guvensam_/status/1849115610392736082",
"language": "tr",
"author": "eeaca23a25f5fcbd50c3aaa6f2dd5e32a1f29d6f",
"external_id": "1849115610392736082"
},
"analysis": {
"classification": {
"label": "Politics",
"score": 0.9351
},
"top_keywords": [
"Russian",
"President",
"terror",
"attack",
"turkey",
"vladimir",
"head",
"President vladimir",
"putin",
"tusa",
"vladimir putin",
"Russian President",
"terror attack",
"strongly"
],
"language_score": 1,
"gender": {
"male": 0.5,
"female": 0.5
},
"sentiment": -0.36,
"embedding": [
0.00626096548512578,
0.032298021018505096,
... (hidden for clarity)
-0.031965188682079315,
-0.03901475667953491
],
"source_type": "social",
"text_type": {
"assumption": 0.016467198729515076,
"anecdote": 0.004031183198094368,
"none": 0.9668120741844177,
"definition": 0.0008883721893653274,
"testimony": 0.0016417419537901878,
"other": 0.008968519046902657,
"study": 0.0011907884618267417
},
"emotion": {
"love": 0.005,
"admiration": 0.0049,
"joy": 0.0026,
"approval": 0.0168,
"caring": 0.0048,
"excitement": 0.005,
"gratitude": 0.0026,
"desire": 0.7492,
"anger": 0.004,
"optimism": 0.0419,
"disapproval": 0.0056,
"grief": 0.0007,
"annoyance": 0.016,
"pride": 0.0007,
"curiosity": 0.0046,
"neutral": 0.2482,
"disgust": 0.0052,
"disappointment": 0.0093,
"realization": 0.006,
"fear": 0.0021,
"relief": 0.0007,
"confusion": 0.0021,
"remorse": 0.0017,
"embarrassment": 0.0007,
"surprise": 0.001,
"sadness": 0.0048,
"nervousness": 0.001
},
"irony": {
"irony": 0.3251896798610687,
"non_irony": 0.6748102903366089
},
},
"fields": [
3,
11,
7
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment