Add support for lorebooks on the website
OpenUpdated Feb 19, 2026
Allow users to import lorebooks, and attach them to specific conversations. Lorebooks are a very simple form of RAG where each data entry specifies a list of keywords. The algorithm checks the last n messages for these keywords, where n is a user-adjustable parameter. If a keyword is found, the corresponding data entry is inserted into the context, typically below the system prompt but above the chat content. Use case: Most lorebooks are created for roleplaying uses, so it's appropriate to add support for them since the site already provides many RP-oriented models.