UNPKG

@lucidcms/core

Version:

The core of the Lucid CMS. It's responsible for spinning up the API and serving the CMS.

1 lines 1.35 kB
{"version":3,"file":"ai-guidance.mjs","names":[],"sources":["../../../../src/libs/collection/custom-fields/ai-guidance.ts"],"sourcesContent":["import { copy } from \"../../i18n/index.js\";\nimport type { CustomFieldGuidanceConfig } from \"./types.js\";\n\nexport const defaultTextFieldAiGuidance = [\n\t{\n\t\tkey: \"improve\",\n\t\tlabel: copy(\"admin:core.ai.guidance.improve.label\", {\n\t\t\tdefaultMessage: \"Improve\",\n\t\t}),\n\t\tinstructions:\n\t\t\t\"Improve the writing while preserving the original meaning and important details.\",\n\t},\n\t{\n\t\tkey: \"expand\",\n\t\tlabel: copy(\"admin:core.ai.guidance.expand.label\", {\n\t\t\tdefaultMessage: \"Expand\",\n\t\t}),\n\t\tinstructions:\n\t\t\t\"Expand the writing with useful detail while staying relevant and accurate.\",\n\t},\n\t{\n\t\tkey: \"shorten\",\n\t\tlabel: copy(\"admin:core.ai.guidance.shorten.label\", {\n\t\t\tdefaultMessage: \"Shorten\",\n\t\t}),\n\t\tinstructions:\n\t\t\t\"Make the writing shorter while preserving the important details and meaning.\",\n\t},\n] satisfies CustomFieldGuidanceConfig[];\n"],"mappings":"2CAGA,MAAa,EAA6B,CACzC,CACC,IAAK,UACL,MAAO,EAAK,uCAAwC,CACnD,eAAgB,SACjB,CAAC,EACD,aACC,kFACF,EACA,CACC,IAAK,SACL,MAAO,EAAK,sCAAuC,CAClD,eAAgB,QACjB,CAAC,EACD,aACC,4EACF,EACA,CACC,IAAK,UACL,MAAO,EAAK,uCAAwC,CACnD,eAAgB,SACjB,CAAC,EACD,aACC,8EACF,CACD"}