wbrown / novelai-research-tool

NovelAI Research Tool and API implementations in Golang
GNU General Public License v3.0
43 stars 9 forks source link

Using lorebook in json file or let scenarios only do one generation/iteration #10

Open Fensterbank opened 2 years ago

Fensterbank commented 2 years ago

Hey, thanks for your work and this awesome library. It's still really difficult to find something out there, which can deal useful with the NovelAI API. I want to use your project to create a Discord Bot, therefore I only want one iteration and take that output, so it would be natural to dynamically create the prompt.txt and configure the json to create one response.

But since my bot need some knowledge, I want to use lorebook entries, which I assume is only possible in .scenario files. Scenario files on the other hand doesn't have a memory (as far as I understood) and doesn't read from a context file (I would have to create the .scenario file dynamically). Also scenarios are always running infinitely.

So I currently don't know how to solve my usecase. I'm pretty sure, there are things missing in your documentation and it is somehow possible. But I think while developing this project you had other things in mind than »this will be only NovelAI binary for a while and everybody will use it to achieve literally anything« 😂

Can you give me a hint how to solve my approach?