Buckets:

rtrm's picture
|
download
raw
653 Bytes

utils/chat_parsing

Chat response parsing utilities for schema-driven extraction of structured data from model output strings.


utils/chat_parsing.recursive_parse(nodeContent, nodeSchema) ⇒ any

Recursively parse content against a JSON schema with regex extraction directives.

Kind: static method of utils/chat_parsing
Returns: any - The parsed data structure.

  ParamTypeDescription




nodeContentstring | Record.<string, any> | Array | nullThe content to parse.


nodeSchemaRecord.<string, any>The schema controlling the parsing.

  

Xet Storage Details

Size:
653 Bytes
·
Xet hash:
6df1e9f7205d86ce311cec34b3cc3b27b03efdc04c4d720cc4b9b7f9dff858fd

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.