zurawiki / tiktoken-rs

Ready-made tokenizer library for working with GPT and tiktoken
MIT License
240 stars 47 forks source link

Update to async-openai 0.16.2 #50

Open Dreaming-Codes opened 10 months ago

Dreaming-Codes commented 10 months ago

Following the recent API update of ChatGPT, Async OpenAI has undergone numerous modifications in its codebase, necessitating significant adjustments to align this library with the updated version.

zurawiki commented 10 months ago

What specific features are needed in the newer version of this OpenAI crate?

I only want to upgrade if necessary because changing dependency versions can break consumers of this tiktoken-rs crate.

Dreaming-Codes commented 10 months ago

What specific features are needed in the newer version of this OpenAI crate?

I only want to upgrade if necessary because changing dependency versions can break consumers of this tiktoken-rs crate.

The latest version adds support for chatgpt threads, chatgpt vision and calling multiple functions at once

Dreaming-Codes commented 10 months ago

It might be better to submit a pull request to async-openai, integrating this library into that lib, rather than the other way around. This is because they are more prone to changes from OpenAI than this library is.