UNPKG

@promptbook/azure-openai

Version:

Promptbook: Run AI apps in plain human language across multiple models and platforms

20 lines (19 loc) 822 B
import type { TODO_any } from '../../utils/organization/TODO_any'; import type { FormatParser } from '../_common/FormatParser'; /** * Definition for XML format * * @private still in development [🏢] */ export declare const XmlFormatParser: FormatParser<string, string, TODO_any, TODO_any>; /** * TODO: [🧠] Maybe proper instance of object * TODO: [0] Make string_serialized_xml * TODO: [1] Make type for XML Settings and Schema * TODO: [🧠] What to use for validating XMLs - XSD,... * TODO: [🍓] In `XmlFormatParser` implement simple `isValid` * TODO: [🍓] In `XmlFormatParser` implement partial `canBeValid` * TODO: [🍓] In `XmlFormatParser` implement `heal * TODO: [🍓] In `XmlFormatParser` implement `subvalueParsers` * TODO: [🏢] Allow to expect something inside XML and other formats */