@lemonppt/agent-prompts 0.1.0 → 0.1.2
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/prompt.js +1 -1
- package/dist/prompt.js.map +1 -1
- package/package.json +4 -4
package/dist/prompt.js
CHANGED
|
@@ -73,7 +73,7 @@ const ROLE_CATALOG = `
|
|
|
73
73
|
props: { kicker?: string, title: string, subtitle?: string, cta?: string, contact?: string, email?: string, link?: string }
|
|
74
74
|
`;
|
|
75
75
|
export function buildPrompt(context) {
|
|
76
|
-
const { input, pageCount = 8, theme = '
|
|
76
|
+
const { input, pageCount = 8, theme = 'base', language = 'zh' } = context;
|
|
77
77
|
return `你是一个专业的演示文稿规划助手。请根据用户的需求,生成一份符合 lemonPPT 格式的 goal.json。
|
|
78
78
|
|
|
79
79
|
${ROLE_CATALOG}
|
package/dist/prompt.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prompt.js","sourceRoot":"","sources":["../src/prompt.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAaH,MAAM,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoEpB,CAAC;AAEF,MAAM,UAAU,WAAW,CAAC,OAAsB;IAChD,MAAM,EAAE,KAAK,EAAE,SAAS,GAAG,CAAC,EAAE,KAAK,GAAG,
|
|
1
|
+
{"version":3,"file":"prompt.js","sourceRoot":"","sources":["../src/prompt.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAaH,MAAM,YAAY,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoEpB,CAAC;AAEF,MAAM,UAAU,WAAW,CAAC,OAAsB;IAChD,MAAM,EAAE,KAAK,EAAE,SAAS,GAAG,CAAC,EAAE,KAAK,GAAG,MAAM,EAAE,QAAQ,GAAG,IAAI,EAAE,GAAG,OAAO,CAAC;IAE1E,OAAO;;EAEP,YAAY;;;;;eAKC,KAAK,mBAAmB,QAAQ,iBAAiB,SAAS;;;;;;;yBAOhD,QAAQ,KAAK,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,QAAQ;;;;;;;;EAQ1D,KAAK;;;iBAGU,CAAC;AAClB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lemonppt/agent-prompts",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
},
|
|
27
27
|
"homepage": "https://github.com/lemonforme/lemonPPT#readme",
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@lemonppt/core": "0.1.
|
|
30
|
-
"@lemonppt/composer": "0.1.
|
|
31
|
-
"@lemonppt/view-model": "0.1.
|
|
29
|
+
"@lemonppt/core": "0.1.2",
|
|
30
|
+
"@lemonppt/composer": "0.1.2",
|
|
31
|
+
"@lemonppt/view-model": "0.1.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/node": "^20.0.0",
|