Closed christophwitzko closed 1 year ago
Thanks @christophwitzko, lgtm π
Thank you for merging! Can you also trigger a new npm release? π That would be amazing. βΊοΈ
Sure thing, 1.0.3 has been released!
Once again, thank you for your contribution @christophwitzko π
Just chiming in as it might help someone in the future.
I was doing tiktoken.get_encoding("gpt-4");
but it errored out saying "Error: Invalid encoding". Turns out I need to use: tiktoken.encoding_for_model("gpt-4");
Reading the docs help :)
Hi there, thank you for creating this awesome package. π
I added the encodings for all GPT-4 models.
Best, Chris