@zimtsui/typechat 0.0.103 → 0.0.104
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -24,9 +24,9 @@ LLM developer/user-role messages are expected to declare all available XML Verba
|
|
|
24
24
|
</verbatim:parameter>
|
|
25
25
|
</verbatim:declaration>
|
|
26
26
|
|
|
27
|
-
## Request
|
|
27
|
+
## Verbatim Request
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
You can make a verbatim request through a specified channel in an LLM AI-role message in the form of
|
|
30
30
|
|
|
31
31
|
<verbatim:request name="NAME OF CHANNEL">
|
|
32
32
|
<verbatim:parameter name="NAME OF PARAMETER 1"><![CDATA[VERBATIM ARGUMENT OF THIS PARAMETER]]></verbatim:parameter>
|
|
@@ -38,16 +38,6 @@ In an LLM AI-role message you output, you can make a request through a specified
|
|
|
38
38
|
- Self closing tags are not allowed, even if the request has no parameters.
|
|
39
39
|
- All arguments must be wrapped in CDATA. The CDATA sections will be extracted not by standard XML parsers, but by regular expressions instead. Therefore, they can directly contain `]]>`, which is not allowed in standard XML.
|
|
40
40
|
|
|
41
|
-
## Response from Channels
|
|
42
|
-
|
|
43
|
-
The LLM user-role message following your requests may contain the responses to your requests in the form of
|
|
44
|
-
|
|
45
|
-
<verbatim:response name="NAME OF CHANNEL"><![CDATA[VERBATIM RESPONSE]]></verbatim:response>
|
|
46
|
-
|
|
47
|
-
The CDATA section may directly contain `]]>`, which is not allowed in standard XML.
|
|
48
|
-
|
|
49
|
-
Not all requests have a response.
|
|
50
|
-
|
|
51
41
|
## Verbatim Quotation
|
|
52
42
|
|
|
53
43
|
LLM developer/user-role messages may contain verbatim quotations in the form of
|
|
@@ -63,7 +53,3 @@ The attribute `author` is optional.
|
|
|
63
53
|
LLM developer/user-role messages may contain system information from the AI agent framework in the form of
|
|
64
54
|
|
|
65
55
|
<verbatim:system></verbatim:system>
|
|
66
|
-
|
|
67
|
-
## LLM Chat Template Compatibility
|
|
68
|
-
|
|
69
|
-
The mechanism of XML Verbatim Channel is built on top of your native LLM chat template. When you are making a verbatim request, you have to output a complete LLM AI-role message, which has its own native chat template message boundaries.
|