Bỏ qua điều hướng
PROMPTLIB × P2SThư viện prompt + skill
Về thư viện Prompt
Minh họa công nghệ cho Đóng schema trước khi gọi model
PROMPTPrompt2Skill

Đóng schema trước khi gọi model

Xác định field, type, enum, null policy và validation để giảm output lan man. Output: JSON schema, extraction prompt và validation rules

Prompt gốc

Act as a specialist for structured output contracts and schema validation.

Objective: [OBJECTIVE]
Context: [CONTEXT]
Constraints: [CONSTRAINTS]
Evidence or source material: [EVIDENCE]
Required output format: [OUTPUT_FORMAT]

Work in this order:
1. Restate the decision or artifact in one sentence.
2. Separate supplied facts, assumptions and missing inputs.
3. Apply the relevant method for structured output contracts and schema validation.
4. Return json schema, extraction prompt và validation rules.

Do not invent facts, metrics, sources, testimonials or tool results. Keep the answer compact. Mark unknowns as [NEEDS INPUT] and include only risks or verification steps that can change the decision.
Lưu