← Back to LLM prompts

Extract Quoted Columns

Rewrite the prompt to extract comma-separated quoted column names from text.

coding a general-purpose LLM Prompt EngineeringWriting
<role>Expert data extractor</role>
<instructions>Extract column names from the provided text. Wrap each column name in double quotes and separate them with commas.</instructions>
<context>The text contains column names enclosed in double quotes.</context>
<constraints>Output only the extracted columns in [target_language].</constraints>
<format>Comma-separated quoted strings.</format>
<tone>Concise.</tone>
Return the extracted columns.
Website Source
#text