Skip to content

Configurable Reference Source Limit for Search Optimization #710

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

Open
goodmaney opened this issue Mar 31, 2025 · 0 comments
Open

Configurable Reference Source Limit for Search Optimization #710

goodmaney opened this issue Mar 31, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@goodmaney
Copy link

When using the native search feature in commercial models, I observed that pulling ~50 references produces the best output quality. However, this may be excessive for local models with limited context windows.

Proposed Solution:

Add a user-configurable setting for reference source limits to optimize for:

Commercial APIs (e.g. GPT-4, Claude): Higher limits (~50 sources) for accuracy
Local models: Lower limits to prevent context window overflows

@goodmaney goodmaney added the enhancement New feature or request label Mar 31, 2025
@ItzCrazyKns ItzCrazyKns self-assigned this Mar 31, 2025
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