Expand description
Token counting and content prioritization module.
This module provides functionality for accurate token counting using the GPT-4 tokenizer and intelligent content prioritization to fit within token limits.
Structsยง
- Content
Prioritizer - Content prioritizer that manages sections based on priority and token limits.
- Content
Section - A content section with associated metadata for prioritization.
- Token
Counter - Token counter using the GPT-4 tokenizer for accurate token counting.