Code Monkey home page Code Monkey logo

Comments (4)

aaronsantiago avatar aaronsantiago commented on May 19, 2024

Currently riffs/upscales don't show information about the prompt, I think they should.

I really want this--can you point me into the direction of how to implement something like this? I want ways to save metadata for images and right now getting the relevant info (prompt, original author) etc. is a little opaque. They only seem to get the run ID. The way I'd approach this naively is to add the runs to a dictionary, but those would get unloaded if the bot restarts. I feel like the prompt is saved somewhere..

from yasd-discord-bot.

AmericanPresidentJimmyCarter avatar AmericanPresidentJimmyCarter commented on May 19, 2024

Technically all the runs from the start of the bot are stored in the temp_json folder as requests. They will get overwritten when the bot restarts and users make new requests.

I am going to attempt to implement serialization of commands tonight. People on the LAION server have requested pings with links to their original post when a call is completed, I will serialize the commands as > commands there, since those are more readily copy-pastable into discord to rerun the command. Slash commands are pretty frustrating to copy-paste by comparison, at least for me.

from yasd-discord-bot.

AmericanPresidentJimmyCarter avatar AmericanPresidentJimmyCarter commented on May 19, 2024

The prompts by the way are stored in the jina Documents as .text.

from yasd-discord-bot.

AmericanPresidentJimmyCarter avatar AmericanPresidentJimmyCarter commented on May 19, 2024

Closed by c85d7c4.

@aaronsantiago Looks like this

Screenshot_2022-09-12_19-55-31

For better monitoring of commands you might want to use Prometheus and Grafana with dalle-flow: https://docs.jina.ai/how-to/monitoring/

If you still want indexing of some kinda we could probably use SQLite3, but please open a different issue for that.

from yasd-discord-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.