Skip to content

Feature: allow tokenized prompts #84

@moyix

Description

@moyix

The OpenAI API allows you to submit a list of tokens (rather than a string) as your prompt. This can be useful in some scenarios, e.g. for benchmarking where you want to be sure you know exactly how many tokens are in the prompt. Also pretty easy to implement (just skip the tokenizer).

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions