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

limit db result size to not "overflow" context #91

Open
nilsherzig opened this issue Apr 16, 2024 · 0 comments
Open

limit db result size to not "overflow" context #91

nilsherzig opened this issue Apr 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@nilsherzig
Copy link
Owner

Is your feature request related to a problem? Please describe.
Sometimes we get more result text back than there is model context, especially if the context is set to a low number. This results in the llm not adhering to the requested answer structure. Which results in parsing errors.

Describe the solution you'd like
Limit the amount of context we use with db / websearch results.

@nilsherzig nilsherzig added the enhancement New feature or request label Apr 16, 2024
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

1 participant