UNPKG

assistant-stream

Version:

Streaming utilities for AI assistants

7 lines (5 loc) • 171 B
import { customAlphabet } from "nanoid/non-secure"; export const generateId = customAlphabet( "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", 7, );