Home / GPT-Tokenizer / n8n-nodes-gpt-tokenizer

GPT-Tokenizer n8n community node Stale 12mo+

n8n-nodes-gpt-tokenizer — n8n node for working with BPE Tokens with OpenAI's GPT models in mind.

Weekly downloads116
Change vs prior week+70
Latest versionv0.1.1
Last published2023-05-12
First published2023-05-12
LicenseMIT
Possibly abandoned: no new version on npm since 2023-05-12. Check the repository for activity before relying on it.

Install

In n8n, open Settings → Community Nodes → Install and enter:

n8n-nodes-gpt-tokenizer

Unverified community nodes can only be installed on self-hosted n8n with community packages enabled. Review the code before installing.

Nodes in this package

Supported operations

ResourceOperationDescription
—EncodeEncode a string into BPE tokens
—DecodeDecode a string into BPE tokens
—Count TokensCount tokens of a string
—Check Token LimitCheck if string is within token limit
—Slice to Max Token LimitSlice string into sections matching a max token limit

Parsed automatically from the published npm package; may be incomplete.

Links

npmRepositoryHomepage

Maintainers: geckse

New community nodes, every week

One short email: the most useful new and fast-growing community nodes, plus ones that went stale. Free.

You'll get a confirmation email first. Trouble? Use the signup page.