[package] name = "chat-splitter" version = "0.1.1" edition = "2021" license = "MIT" authors = ["Felipe S. S. Schneider "] description = "Never exceed OpenAI's chat models' maximum number of tokens when using the async_openai Rust crate" repository = "https://github.com/schneiderfelipe/chat-splitter" rust-version = "1.72.0" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] async-openai = { version = "0.12.2", default-features = false } indxvec = { version = "1.8.0", default-features = false } log = { version = "0.4.20", default-features = false } tiktoken-rs = { version = "0.5.1", default-features = false } [dev-dependencies] async-openai = "0.12.2" tokio = "1.32.0"