XKCD: Create XKCD comic generator by christolis · Pull Request #1404 · Together-Java/TJ-Bot
Use RAG with ChatGPT to store all XKCD comics and display the correct one based on the chat history. There is also the possibility to specify your own XKCD if you wish. Signed-off-by: Chris Sdogkos <work@chris-sdogkos.com>
added
enhancement
labels
Jan 31, 2026 - ChatGptService: Refrain from polluting it with XKCD related calls,
- ChatGptService: provide JavaDocs to the methods that don't have one,
- ChatGptService: remove unused sendWebPrompt method
- XkcdCommand and XkcdRetriever: Refactor code into functions for
readability.
Signed-off-by: Chris Sdogkos <work@chris-sdogkos.com>
- refactor(XkcdRetriever): rename to XkcdService - doc(ChatGptService): clarify the meaning of RAG and vector store - XkcdService: improve fetchAllXkcdPosts method - XkcdCommand: do not allow more than 40KB of chat messages Signed-off-by: Chris Sdogkos <work@chris-sdogkos.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters