Reduce chunk size: 5 msgs / 512 chars, overlap 2 msgs
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
4bff9e5ea2
commit
72991ff71a
1 changed files with 3 additions and 3 deletions
|
|
@ -4,10 +4,10 @@ from cleaning import CleanedMessage, clean_message
|
|||
from rendering import render_dense_content, render_page_content, render_sparse_content
|
||||
from index_schemas import IndexAPIItem, Message
|
||||
|
||||
WINDOW_MAX_MESSAGES = 10
|
||||
WINDOW_MAX_CHARS = 2048
|
||||
WINDOW_MAX_MESSAGES = 5
|
||||
WINDOW_MAX_CHARS = 512
|
||||
TIME_GAP_SECONDS = 3600
|
||||
OVERLAP_MESSAGES = 3
|
||||
OVERLAP_MESSAGES = 2
|
||||
|
||||
|
||||
def _clean_all(messages: list[Message]) -> list[CleanedMessage]:
|
||||
|
|
|
|||
Loading…
Reference in a new issue