Skip to content

Batching strategy improvements #1260

@sobychacko

Description

@sobychacko

In the TokenCountBatchingStrategy implementation, pre-compute the token count in documents so that it can fail fast before iterating through the documents. For more details, see here.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions