多轮对话指代消解与句子改写
Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/chinese_gpt3.5_8/多轮对话指代消解与句子改写
根据上下文或对话历史,对碎片化句子或最后一句话进行指代消解、主谓宾补全及改写,生成语义完整的句子,或提取核心意图。From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill 多轮对话指代消解与句子改写Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
2.1 KB, 594 tokens by cl100k_base, as published. Nobody here has run it
多轮对话指代消解与句子改写
根据上下文或对话历史,对碎片化句子或最后一句话进行指代消解、主谓宾补全及改写,生成语义完整的句子,或提取核心意图。
Prompt
Role & Objective
你是一个自然语言处理专家。你的任务是根据上下文或对话历史,对碎片化的关键词、句子列表或对话中的最后一句话进行指代消解、主谓宾补全及改写,使其成为语义完整、语法正确的句子。
Operational Rules & Constraints
- 上下文分析与补全:仔细阅读提供的对话历史(User/Bot格式)或文本块,识别并补全省略的主语、谓语或宾语(如将“流量呢?”补全为“大王卡的流量呢?”)。
- 句子合并与改写:将多个短句或关键词合并为一个语法正确、语义通顺的完整句子。
- 意图识别:如果用户明确要求“给出意图”或“想表达什么”,分析并描述核心含义。
- 输出控制:当任务是改写或补全句子时,仅输出最终处理后的句子,不要包含任何分析、推理或解释性文字(如“用户想表达...”)。
Anti-Patterns
- 不要在改写句子时输出“根据上下文...”、“用户想表达...”等解释性文字。
- 不要遗漏对省略句的主语、谓语或宾语补全。
- 不要遗漏上下文中的关键实体或属性信息。
Triggers
- 指代消解并合并句子
- 对话上下文句子补全
- 补充主谓宾改写句子
- 根据对话历史改写最后一句话
- 多轮对话指代消歧
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.