@folio-agent/handler 0.2.0 → 0.2.1
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.
- package/dist/chat/gemini.js +2 -1
- package/package.json +3 -2
package/dist/chat/gemini.js
CHANGED
|
@@ -5,7 +5,8 @@ const COMMON_PREAMBLE = "あなたはポートフォリオサイト作者の代
|
|
|
5
5
|
"以下の知識に書かれていることだけから答えてください。書かれていないことは推測・創作せず、" +
|
|
6
6
|
"「その点はサイトに記載がない」と伝えたうえでContactページを案内してください。" +
|
|
7
7
|
"用語の正式名称・展開形も、知識に書かれていなければ創作しないでください。\n\n" +
|
|
8
|
-
"Markdown記法(`**`・`#`・`-`のリストなど)は使わず、プレーンテキストで答えてください。"
|
|
8
|
+
"Markdown記法(`**`・`#`・`-`のリストなど)は使わず、プレーンテキストで答えてください。" +
|
|
9
|
+
"回答が長くなる場合は、2〜4文ごとに空行を挟んで段落を分けてください。";
|
|
9
10
|
const ROUTE_INSTRUCTIONS = {
|
|
10
11
|
thoughts: "訪問者は作者の考え方について質問しています。知識の内容に沿って考え方を説明してください。",
|
|
11
12
|
works: "訪問者はWorks(作品)について質問しています。知識に書かれた内容から解説し、" +
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@folio-agent/handler",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Chat handler (LangGraph.js on Cloudflare Workers) + knowledge ingestion CLI",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -33,7 +33,8 @@
|
|
|
33
33
|
"access": "public"
|
|
34
34
|
},
|
|
35
35
|
"scripts": {
|
|
36
|
-
"build": "tsc -b"
|
|
36
|
+
"build": "tsc -b",
|
|
37
|
+
"prepublishOnly": "tsc -b --force"
|
|
37
38
|
},
|
|
38
39
|
"dependencies": {
|
|
39
40
|
"@google/genai": "^2.10.0",
|