Skip to content

Overview / normalizeMessageChunks

normalizeMessageChunks()

normalizeMessageChunks(chunk): string

Normalizes the content of a message chunk.

Parameters

ParameterTypeDescription
chunkBaseMessageChunkThe message chunk to normalize.

Returns

string

The normalized text content as a string.

Released under the GPL-3.0 License.