360 Secure SkillHub
360 安全技能中心

Hle Reasoning Wrapper

这是为HLE(人类终考)问题设计的思维链推理包装工具,核心功能是强制执行结构化推理流程:一是格式化提问,为问题注入Thought/Answer固定结构;二是验证LLM输出是否遵循该结构。典型用于回答HLE基准题场景,确保作答逻辑严谨、格式合规。输入为HLE问题文本,输出为结构化提示语及验证结果。

wanng-ide
wanng-ide
热度 64.64
最近更新 2026-05-11 17:25:49
分类:知识依赖:代码执行应用场景:教学辅导 / 测验 / 模板

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add hle-reasoning-wrapper
Metadata
name
hle-reasoning-wrapper
description
Wraps HLE benchmark questions in a structured Chain-of-Thought (CoT) reasoning process. Use when answering HLE questions to ensure strict step-by-step logic and format compliance.

HLE Reasoning Wrapper

Enforces a structured reasoning process for Humanity's Last Exam (HLE) questions.

Usage

const hle = require('./index');
const prompt = hle.formatPrompt("What is the speed of light?");
// Use prompt with LLM
const result = hle.validateOutput(llmResponse);

Logic

  1. Format Prompt: Injects required structure (Thought/Answer).
  2. Validate Output: Ensures the model followed the structure.