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

Filter vector search results in separate temporary context to reduce main context size #4

Open
Konard opened this issue Feb 19, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@Konard
Copy link
Member

Konard commented Feb 19, 2024

No description provided.

@Konard Konard added the enhancement New feature or request label Feb 19, 2024
@FreePhoenix888
Copy link
Member

What do you mean?

@Konard
Copy link
Member Author

Konard commented Feb 27, 2024

@FreePhoenix888 I mean we can make not one, but two requests to GPT-4 for single message. The first request will filter data we got from vector search, and the second request will use that filtered data to answer user's request. This task does not have high priority and can be done in the fork of that repository. The only effect from this task it reduced size of each message in the context. That means we can send history of messages to GPT-4. At the moment we get a lot of results from vector search, and right now bot supports only history/context that contains single message. Completion of this task will enable users to make continuous conversations with a bot. For example, to clarify details of the case in each next message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants