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

[runtime] add context-sharing across chats with same tag #7

Closed
signebedi opened this issue Mar 20, 2023 · 2 comments
Closed

[runtime] add context-sharing across chats with same tag #7

signebedi opened this issue Mar 20, 2023 · 2 comments

Comments

@signebedi
Copy link
Owner

After implementing tags in #5, we should add context sharing where the chat can see (up to a certain length) all of the content with the same tag, concatenated.

@signebedi
Copy link
Owner Author

There may need to be token limits that we impose on context variable. https://stackoverflow.com/questions/70060847/how-to-work-with-openai-maximum-context-length-is-2049-tokens

@signebedi
Copy link
Owner Author

In the end, we needed to stack the prior context onto the new question, per https://community.openai.com/t/how-do-you-maintain-historical-context-in-repeat-api-calls/34395/2.

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