Skip to content

Spike: tokens calculation #569

@anamariamv

Description

@anamariamv

OpenAI reference

Summary
The library currently calculates the tokens based on the message in the Kotlin model but it should calculate based on the request payload instead.

Some references:

ModelType params
tokensForMessages fun
reduceByLimitToken fun

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions