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

[FEATURE] DX: EmbeddingStoreContentRetriever: easy way to set maximum number of tokens to retreive #1077

Open
langchain4j opened this issue May 9, 2024 · 0 comments
Labels
DX Developer Experience enhancement New feature or request P2 High priority P3 Medium priority

Comments

@langchain4j
Copy link
Owner

Aside from maxResults setting, EmbeddingStoreContentRetriever should have a setting to define how many tokens to retreive (e.g. maxTokens). In this case, Tokenizer should also be provided by the user.

Consider adding this setting on DefaultRetrievalAugmentor level.

@langchain4j langchain4j added enhancement New feature or request P2 High priority P3 Medium priority DX Developer Experience labels May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX Developer Experience enhancement New feature or request P2 High priority P3 Medium priority
Projects
None yet
Development

No branches or pull requests

1 participant