go-openai
go-openai copied to clipboard
Suggestion to include tiktoken token counting support
Your issue may already be reported! Please search on the issue tracker before creating one.
Is your feature request related to a problem? Please describe. For billing the open ai API calls, wondering if one could integrate the tiktoken go ported library: https://github.com/pkoukk/tiktoken-go
Describe the solution you'd like https://github.com/pkoukk/tiktoken-go seems to have the token counting support
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.