A pure JavaScript implementation of a BPE tokenizer (Encoder/Decoder) for GPT-2 / GPT-3 / GPT-4 and other OpenAI models
LlamaIndex.TS
Data framework for your LLM application.
environment wrapper, supports all JS environment including node, deno, bun, edge runtime, and cloudflare worker
Run AI models locally on your machine with node.js bindings for llama.cpp. Enforce a JSON schema on the model output on the generation level