@zimtsui/typechat 0.0.99 → 0.0.100
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.
|
@@ -29,19 +29,21 @@ The LLM system/user message is expected to declare all available XML Verbatim Ch
|
|
|
29
29
|
You can make a request through a channel in the form of
|
|
30
30
|
|
|
31
31
|
<verbatim:request name="NAME OF CHANNEL">
|
|
32
|
-
<verbatim:parameter name="NAME OF PARAMETER 1"><![CDATA[ARGUMENT OF THIS PARAMETER]]></verbatim:parameter>
|
|
33
|
-
<verbatim:parameter name="NAME OF PARAMETER 2"><![CDATA[ARGUMENT OF THIS PARAMETER]]></verbatim:parameter>
|
|
32
|
+
<verbatim:parameter name="NAME OF PARAMETER 1"><![CDATA[VERBATIM ARGUMENT OF THIS PARAMETER]]></verbatim:parameter>
|
|
33
|
+
<verbatim:parameter name="NAME OF PARAMETER 2"><![CDATA[VERBATIM ARGUMENT OF THIS PARAMETER]]></verbatim:parameter>
|
|
34
34
|
</verbatim:request>
|
|
35
35
|
|
|
36
36
|
- The only attribute of <verbatim:request> is `name`. Additional attributes will be ignored.
|
|
37
37
|
- The only attribute of <verbatim:parameter> is `name`. Additional attributes will be ignored.
|
|
38
|
-
- 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
|
|
38
|
+
- 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.
|
|
39
39
|
|
|
40
40
|
## Response from Channels
|
|
41
41
|
|
|
42
|
-
The LLM user message may contain the responses
|
|
42
|
+
The LLM user message may contain the responses to your request in the form of
|
|
43
43
|
|
|
44
|
-
<verbatim:response name="NAME OF CHANNEL"><![CDATA[RESPONSE]]></verbatim:response>
|
|
44
|
+
<verbatim:response name="NAME OF CHANNEL"><![CDATA[VERBATIM RESPONSE]]></verbatim:response>
|
|
45
|
+
|
|
46
|
+
The CDATA section may directly contain `]]>`, which is not allowed in standard XML.
|
|
45
47
|
|
|
46
48
|
Not all requests have a response.
|
|
47
49
|
|
|
@@ -49,7 +51,9 @@ Not all requests have a response.
|
|
|
49
51
|
|
|
50
52
|
The LLM system/user message may contain verbatim quotations in the form of
|
|
51
53
|
|
|
52
|
-
<verbatim:quotation author="AUTHOR OF THIS QUOTATION"><![CDATA[QUOTATION]]></verbatim:quotation>
|
|
54
|
+
<verbatim:quotation author="AUTHOR OF THIS QUOTATION"><![CDATA[VERBATIM QUOTATION]]></verbatim:quotation>
|
|
55
|
+
|
|
56
|
+
The CDATA section may directly contain `]]>`, which is not allowed in standard XML.
|
|
53
57
|
|
|
54
58
|
The attribute `author` is optional.
|
|
55
59
|
|