jmaynor / dolores Goto Github PK
View Code? Open in Web Editor NEWDiscord bot named Dolores
License: MIT License
Discord bot named Dolores
License: MIT License
Pass necessary config variables through using the class constructors.
Make use of SMMRY API
https://smmry.com/api
Takes up unnecessary space in program as is. Would make more sense to store that outside of program itself. And don't want it in the main config file.
LangChain seems like a good tool for this. Can make the calls generic and it will just depend on what is specified in file whether we go to local LLM or commercial one.
Make use of OpenAI since already using it for text gen. Then add self-hosted options. Such as Stable Diffusion or similar.
Store the last couple messages to/from the bot so can have limited memory
Go through and convert the various instances of discord.py so they use pycord. It's kept up-to-date. Also make it so that each command is a "bridge command" in order to make use of Discord's slash command feature.
Build out so that there are generic commands for getting or writing schedule data for both Twitch and Notion
Use the command groups feature to clean up main python file
Currently downloading audio file rather than streaming to prevent weird distortion in beginning of stream. As well as seems to be more consistent. However, not currently cleaning up downloaded files.
Make sure of the copy all (copy .). Will simplify if ever adding more files in the future.
Respond with error messages when a command is used and required info wasn't provided in the config YML file. Rather than silently erroring out and printing to stderr.
Add additional documentation to readme. Go over what each module does and add example config file.
Break down into 3 functions:
Otherwise do normal process_commands
Use proper logging to track command use, errors, etc.
See if possible to use an instance of llama (or some other LLM) as opposed to the chatterbot stuff. Would remove the need to include out-of-date packages in the repo. Would also be more interesting.
Useful functionality, too often generates summary that doesn't have anything to do with actual article text. Seems to often be because URL is redirecting user elsewhere, or most often because news websites have tons of non-relevant info on page. (Other articles, breaking headlines and such, random garbage)
Example URL: https://www.cnn.com/2023/11/02/tech/microsoft-ai-news/index.html
Redo in some way. Pull article text first and then summarize. Or investigate other APIs.
Set up continuous deployment so new releases will automatically push to Docker Hub
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.