Skip to Content
Anuma SDKReactInternalFunctionsbuildAttachedFilesText

buildAttachedFilesText

buildAttachedFilesText(fileContext: string): string

Defined in: src/lib/chat/fileContext.ts:36 

Wrap a turn’s extracted file contents (the [Extracted content from <name>] blocks preprocessFiles emits) in the tagged part that rides on that turn’s user message.

Parameters

ParameterType

fileContext

string

Returns

string

Last updated on