Skip to content

feat: add token limit chunks to embedding models #670

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
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

maryamkhidir
Copy link
Collaborator

@maryamkhidir maryamkhidir commented Jul 21, 2025

Issue #, if available:

Description of changes:

Implemented token limit handling for embedding models to improve processing of large documents. Changes include:

  • Modified embedding generation logic in genai_core to handle token limits for models.
  • bump brace-expansion version
  • fix linting errors

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@maryamkhidir maryamkhidir force-pushed the feat/add-token-limit-chunking branch from 37c3f1d to 924f30b Compare July 21, 2025 17:58
chore: fix linting errors

chore: bump brace-expansion version
@maryamkhidir maryamkhidir force-pushed the feat/add-token-limit-chunking branch from 924f30b to 7c5aefe Compare July 21, 2025 18:15
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

Successfully merging this pull request may close these issues.

2 participants