Skip to content

Suggestion to include tiktoken token counting support #988

Open
@practicehelps

Description

@practicehelps

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions