Skip to content
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

Adjust the timing to inject medium-term memory #1

Open
uezo opened this issue Aug 20, 2023 · 0 comments
Open

Adjust the timing to inject medium-term memory #1

uezo opened this issue Aug 20, 2023 · 0 comments

Comments

@uezo
Copy link
Owner

uezo commented Aug 20, 2023

Currently it is fixed for the second tern.
Make this customizable so that we can adjust the impact of medium-term memory.

uezo added a commit that referenced this issue Aug 20, 2023
Set value to `archive_injection_at`. Default is `2`. This means chatmemory inject mid-term memory before the 2nd turn starts.

Also change the index to insert to messages list. If the first message is `system`, insert it next; otherwise, insert it as the first message.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant