Skip to content

Only situate if chunk char length is less than specified #1289

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

ahuang11
Copy link
Contributor

In preparation to embed vega-lite docs, trying to be more efficient about situating.

@ahuang11 ahuang11 requested review from amaloney and philippjfr June 17, 2025 22:20
@ahuang11 ahuang11 marked this pull request as ready for review June 17, 2025 22:20
Copy link

codecov bot commented Jun 17, 2025

Codecov Report

Attention: Patch coverage is 50.00000% with 4 lines in your changes missing coverage. Please review.

Project coverage is 58.94%. Comparing base (54e6045) to head (dec7ab2).

Files with missing lines Patch % Lines
lumen/ai/vector_store.py 50.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1289      +/-   ##
==========================================
- Coverage   58.94%   58.94%   -0.01%     
==========================================
  Files         114      114              
  Lines       18198    18203       +5     
==========================================
+ Hits        10727    10729       +2     
- Misses       7471     7474       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment on lines +89 to +94
Controls whether to add a `llm_context` key to the metadata
with contextual information about the chunks.
If set to True, all chunks will be situated.
If set to an integer, only chunks with a character
count less than or equal to this value will be situated.
If set to False, no chunks will be situated.""",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would like an example in the doc, because I do not fully understand what is being added

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