stakwork / sphinx-swarm

lightning container orchestration for massive deployments
4 stars 4 forks source link

[Personal graph] Messaging #323

Open tomsmith8 opened 1 month ago

tomsmith8 commented 1 month ago

Task

Personal Graph Messaging:

Call Transcripts being stores in the graph

image
tomsmith8 commented 1 month ago

@Evanfeenstra send me schema updates needed for support of all the threading / pubkeys etc.

Basically, anything that we could possible store for a message we can make optional

(we might even need a thread node)

Evanfeenstra commented 1 month ago

@tomsmith8 I added the last 6 attributes onto the schemas in our swarms. The final message format is:

{
"uuid": "string",
"content": "string",
"amount": "int",
"sender": "string",
"date": "int",
"reply": "?string",
"kind": "?int",
"chat_pubkey": "?string",
"thread_uuid": "?string",
"media_token": "?string",
"media_key": "?string",
"media_type": "?string"
}
tomsmith8 commented 1 month ago

@Evanfeenstra awesome thanks! I'll update the default schema going forward