Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/streaming.ts>_decodeChunks

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
function _decodeChunks
import { _decodeChunks } from "https://deno.land/x/openai@v4.38.3/streaming.ts";

This is an internal helper function that's just used for testing

Parameters

chunks: string[]

Returns

string[]