Taxonomy Architect: Stricter JSON Extraction from Messy Text

Prompt that forces a strict, machine-readable JSON output by extracting entities from messy text and representing each as an object with a name and a score.

4.5
2 usos
ChatGPT
Usar no ChatGPT
Task: Extract entities from the provided text. Output must be a valid JSON array of objects. Each object represents one entity and must follow this schema exactly: {"name": "<entity_name>", "score": <integer 1-10>}. Do not include any conversational text or explanations. The array should include all entities found; if multiple occurrences exist, include each unique entity with the highest score. If no entities are found, return an empty array []. This is designed for data cleaning and downstream ingestion in ML pipelines. Replace [Text] with your input.

Como Usar este Prompt

1

Clique no botão "Copiar Prompt" para copiar o conteúdo completo.

2

Abra sua ferramenta de IA de preferência (ChatGPT e etc.).

3

Cole o prompt e substitua as variáveis (se houver) com suas informações.

Compartilhe

Gostou deste prompt? Ajude outras pessoas a encontrá-lo!