-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some questions I had: #22
Comments
So.
|
Thanks for answering, I am not getting good responses from text adventure module so I'll probably won't end up using it |
This issue is stale because it has been open for 30 days with no activity. It will be closed if no activity happens within the next 7 days. |
Thank you for your response on this. I thought I could revive this thread with some follow up. So then it is true, that the API itself doesn't know anything about Memory, Authors Note, etc. It's just the WebUI placing these text snippets at a specific position in the prompt, which is only one big string.
Right now I'm using
Is that approach correct? |
Yes. I would even recommend trimming the story by paragraph instead of sentence, word or token, getting rid of the oldest first. |
I think I can use that approach. I am currently just storing the string in a .txt file and reading from there before using it as prompt. Do you know the specific place where the web UI inserts the memory string? I want tp place the [Title: ; Tags: ; Genre ;] line that you usually put in memory without hampering with the generation. Also is there a way to program the responses in a specific structure? For example if I want to generate an item and I want it to generate as "Name: '', class: '', description: ''". Or if I want to generate a specific line like "Health: +20". I want to read these strings and update the database in my game (inventory, stats, etc) accordingly. |
Memory is at the very top, AN 3 lines from bottom, Lorebook it depends on insertion order and position.
You could use a "generator", a few-shot example of what you want (there are examples in the official prompts). However, NAI is not very good at math or keeping a state of things like stats. I would recommend doing so externally. |
This issue is stale because it has been open for 30 days with no activity. It will be closed if no activity happens within the next 7 days. |
This issue was closed because it has been stale for 7 days with no activity. Reopen it if relevant or open a new issue, further discussion on closed issues might not be seen. |
For the text adventure module, how can I control 'do' or 'say' options, there seems to be no such parameter, there's only prompt.
Is there an example of managing context size that I can look at? I wanted to see how to delete context line by line? Currently I have my prompt as just plain text that I append into as you told, should I make it something like an array of sentences instead so that I can remove by index number?
How does the memory context that you provide in novelAI webapp work? Is it any different?
The text was updated successfully, but these errors were encountered: