PromptBase
Close icon
General
Home
Marketplace
Hire
Create
Login
Sell
Explore
🤖 GPT

Topic Extraction From Several Sentences

Topic Extraction From Several Sentences gpt prompt mini thumbnail
1Heart icon
Favorites
1Eye icon
Views
TestedTick icon
TipsTick icon
When integrating ChatGPT with a self-made app via API, there are times when multiple sentences are separated by commas and loaded into ChatGPT as a list (such as when sentences exist across multiple models or fields). On such occasions, the prompt can extract topics across multiple sentences without omission or duplication
...more
$4.99
Get prompt
After purchasing, you will gain access to the prompt file which you can use with GPT or the app builder. You'll receive 20 free generation credits with this purchase. By purchasing this prompt, you agree to our terms of service.
Over 1 month ago

Prompt Details

Model
Chat - GPT-4 (gpt-4)
Token size
127 ($0.00380 / call)
Example input
Extract the main topics from the following sentences. Only list the topics, separated by commas like A, B. Remove any duplicate topics, and do not include commas or punctuation at the end of sentences. Summarize topics exceeding 10 characters. Keep the total number of topics to 10 or fewer. Follow the order of the topics as they appear in the sentence list you are referencing. If the topics are initially presented with an alphabet letter like 'A. B.', remove the alphabet letter and the dot, displaying only the topics. Also, eliminate any final dots or punctuation from the topics: [The debate over a proposed economic stimulus package to tackle rising inflation and provide handouts to families will likely be the center of attention during the parliament session slated to begin on Friday., The session, set to run until Dec. 13, will reach its peak in the budget committee, where the government will face questions over several issues — ranging from the new economic measures to defense funding and social security outlays., The economy will likely make up the core of parliamentary discussions, as opinion polls have repeatedly indicated that inflation remains a concern, if not the biggest one, for voters.].
Example output
economic stimulus, inflation, handouts to families, parliament session, budget committee, defense funding, social security, economy, opinion polls, voters
Browse Marketplace