Inferring Prompts
# Inferring
In this lesson, you will infer sentiment and topics from product reviews and news articles.
## **Content Table**
- [**Product review text**](https://github.com/SOLUNTECH/prompt-engineering/blob/main/4-inferring-prompts.md#product-review-text)
- [**Sentiment (positive/negative)**](https://github.com/SOLUNTECH/prompt-engineering/blob/main/4-inferring-prompts.md#sentiment-positive-negative)
- [**Identify types of emotions**](https://github.com/SOLUNTECH/prompt-engineering/blob/main/4-inferring-prompts.md#identify-types-of-emotions)
- [**Identify anger**](https://github.com/SOLUNTECH/prompt-engineering/blob/main/4-inferring-prompts.md#identify-anger)
- [**Extract product and company name from customer reviews**](https://github.com/SOLUNTECH/prompt-engineering/blob/main/4-inferring-prompts.md#extract-product-and-company-name-from-customer-reviews)
- [**Doing multiple tasks at once**](https://github.com/SOLUNTECH/prompt-engineering/blob/main/4-inferring-prompts.md#doing-multiple-tasks-at-once)
- [**Inferring topics**](https://github.com/SOLUNTECH/prompt-engineering/blob/main/4-inferring-prompts.md#inferring-topics)
- [**Infer 5 topics**](https://github.com/SOLUNTECH/prompt-engineering/blob/main/4-inferring-prompts.md#infer-5-topics)
- [**Make a news alert for certain topics**](https://github.com/SOLUNTECH/prompt-engineering/blob/main/4-inferring-prompts.md#make-a-news-alert-for-certain-topics)
---
## Product review textwhen to use it
Community prompt sourced from the open-source GitHub repo SOLUNTECH/prompt-engineering (MIT). A "Inferring Prompts" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
codingcommunitydeveloper
source
SOLUNTECH/prompt-engineering · MIT
more in Coding
Coding✓ tested
Senior code review (strict mode)
senior staff engineer running a merciless but fair review
Coding✓ tested
Debug by hypothesis, not by guessing
debugging partner who forms theories before touching code
Coding✓ tested
Generate tests from described behavior
test engineer who writes tests that would actually catch regressions