Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.13 KB

File metadata and controls

30 lines (23 loc) · 1.13 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[Unreleased]

Added

  • TiktokenTokenizer for accurate OpenAI token counting using the tiktoken library
  • Support for precise token counting with GPT-4, GPT-3.5-turbo, and other OpenAI models
  • Comprehensive test suite for TiktokenTokenizer with 16 test cases
  • Usage example demonstrating TiktokenTokenizer integration
  • Documentation updates in README.md covering token counting options

Changed

  • Updated mix.exs to include tiktoken dependency (~> 0.4.1)
  • Enhanced README.md with token counting section and installation instructions

[0.1.0] - Initial Release

Added

  • Initial PromptVault implementation with context management
  • PretendTokenizer for token estimation using fnord library
  • Support for text, tool call, and media messages
  • EEx and Liquid template engines
  • Context compaction with SummarizeHistory strategy
  • Comprehensive test coverage
  • Full documentation and examples