tattle-made / DAU

MCA Tipline for Deepfakes
GNU General Public License v3.0
6 stars 0 forks source link

[23-W2] Clustering for auto response for repeat items #108

Closed dennyabrain closed 4 months ago

dennyabrain commented 5 months ago

https://github.com/tattle-made/DAU/issues/89 https://github.com/tattle-made/DAU/issues/57

dennyabrain commented 4 months ago

WIP Notes

Media Indexing

event / actions command test
message received on webhook from bsp UserMessage.Conversation.add_message(message) YES
message added to conversation MediaMatch.Blake2B.create_job MANUAL TEST because involves RabbitMQ
response received from blake2b worker response MediaMatch.Blake2B.worker_response_received YES
Hash value and metadata added UserMessage.Conversation.associate_hash_meta_with_feed YES

Approve Match

event command test
User approves match UserMessage.Conversation.copy_fields()
fields are copied UserMessage.Conversation.send_response()

Backfilling Data

Pending

dennyabrain commented 4 months ago

Creating Conversation from common_id

query = Repo.get(Common, 9) |> Repo.preload(query: [:feed_common, :user_message_outbox, messages: [:hash]]) |> Map.get(:query)
Conversation.build(query)
dennyabrain commented 4 months ago

show matches - MediaMatch.Blake2B.get_matches show response - MediaMatch.Blake2B.get_response