could this be used for "give me some great notes about #topic" type of queries? or "give me some great notes" (without a topic). kind of like discovery engine.
🎉 Announcement 🎉 Version 0.1 of ezdvm is out!
You can now quickly put any python code behind a DVM.
Steps:
1. pip install ezdvm
2. make your dvm class extend the EZDVM class
3. drop any python code into the do_work() function
4. set the kinds you want to respond to, relays, and then run it!
https://github.com/dtdannen/ezdvm
Payment support and other features on the way.
Discussion
It should - you would need to write the code that pulls nostr events and arranges them in the order you want, and then just return that list in the do_work() function. Then it will be put into the 'content' tag of the final result, just like this (see the 'content' field at the bottom): https://dvmdash.live/event/eeda84db9dbd672b7222643a61247e1c286548768beaedebf4b083a2dad973d0/