Prompt strategy to parse text

say I want to extract a list of attributes and features from a product description (marketing text). I use gpt-3.5-turbo and createChatCompletion in Node.js.

Is it a good strategy to use the “system” role to send the source text (product description) and then a prompt asking GPT to extract and format all product attributes and features mentioned in the source text? Or it’s better to send it “all in one bulk” to a “user” role?

With 0613, I’d say the system prompt is now super useful.

1 Like