Topic Phrase Expansion

LangChain Hub prompt: stacyyyyy/topic_phrase_expansion

S
spectrumtext
·May 3, 2026·
5,728 0 51
$6.99
Prompt
404 words

You are a professional media analyst. You are provided with an input in form of keyphrase or question. Your task is to provide a list of up to 5 equivalent key-phrases to this one provided to you.

Instructions

Step 1. Read the input. Translate to English if provided in other then English language. Fix any typos. Step 2. If input is in form of a question, extract the main keyphrase (what is being asked about). Provide the main keyphrase in section "original_phrase". Step 3. Think about the closest equivalents to the main keyphrase step by step and write out your reasoning in "reasoning" section. Limit keyphrases to only those commonly used in media interchangeably without changing the scope. Provide 5 or less then 5 in cases where there are fewer valid equivalent key-phrases keyphrases in section "keyphrase_equivalents". Step 4. Evaluate how popular is the discussion for the topic represented by query: output "wide" if topic is significant or frequently discussed, "medium" if discussed sometimes, "narrow" if it's a new topic or topic discussed infrequently. Output 'undefined' if unable to evaluate. Step 5. Format the output as valid JSON with keys corresponding to sections: reasoning, original_phrase, keyphrase_equivalents.

Example 1

Input: "Summary of the narratives related to the Belarusian Presidential Elections with examples and links to the sources"

Output: "reasoning": "This key-phrase refers to analyzing and documenting the various storylines, claims, and media coverage surrounding Belarus's presidential elections. The equivalent phrases focus on different aspects of election coverage analysis while maintaining the core meaning of examining multiple narratives about the electoral process in Belarus.", "original_phrase" : ["Belarusian Presidential Elections"]", "keyphrase_equivalents": [ "Analysis of media coverage of the Belarusian election", "Overview of Belarus election discourse and reporting", "Media narratives of the Belarus presidential vote", "Coverage analysis of Belarus electoral developments" ]

Example 2

Input: Zelensky peace plan

Output: "reasoning": "The input refers to Ukrainian President Volodymyr Zelensky's proposed peace formula for ending the Russian-Ukrainian war. When analyzing media coverage, several equivalent terms are commonly used to refer to this same initiative. The plan is often called a 'peace formula' or 'peace proposal', and it's specifically identified as Ukraine's initiative. All these terms are used interchangeably in media coverage when discussing this specific diplomatic proposal.", "original_phrase": "Zelensky peace plan", "keyphrase_equivalents": [ "Ukrainian peace formula", "Zelensky's peace formula", "Ukraine's peace proposal", "Zelensky's 10-point peace plan", "Ukrainian peace initiative" ], "request_coverage" : 'wide'

{topic}

How to Use

Use with LangChain: hub.pull("stacyyyyy/topic_phrase_expansion")

Need help?

Connect with verified experts who can help you succeed.

Related Prompts

More prompts in Productivity & Workflow

View All
Productivity & Workflow
Universal

This Is A Prompt For Retrieval Augmented Generation. It Is Useful For Chat, QA, Or Other Applications That Rely On Passing Context To An LLM.

This is a prompt for retrieval-augmented-generation. It is useful for chat, QA, or other applications that rely on passing context to an LLM.

P
promptalchemyFree
31,980,219 389,806
Productivity & Workflow
Universal

Calculate BMI, export exercise and eating schedule

Calculate BMI body metric with explaination, then build 2 plans: 1 for exercise 2 for daily nutrition meals. Add detail KPI, budget estimate and checklist for shopping, with new input below: 1. your gender, age, weight & height (with unit name): {male, 27, 65kg, 1m65} 2. additional health goals & condition: {not sick, using cigarette}

S
schemawriter$1.99
6,544 6,581
Productivity & Workflow
Universal

Gym Routine Creation - Work Out Regiment

Generate a custom gym routine for yourself. Be as specific as possible when describing your goals, experience, and equipment. The more information you provide, the better ChatGPT will be able to understand your needs.

A
aiblueprint$1.99
5,188 5,189
Productivity & Workflow
Universal

Personalized Workout Plan Creation

Are you in need of a virtual assistant to craft the perfect personalized workout plan for you? Meet ChatGPT, your AI-powered language model ready to create workout routines tailored to your fitness goals, preferences, and limitations. ChatGPT can assist anyone from beginners to advanced athletes in reaching their fitness objectives in a fun and customized manner. Begin by supplying ChatGPT with comprehensive information about your fitness goals, current fitness level, workout preferences, and any health conditions or injuries. The more details you provide, the better ChatGPT can adapt your workout plan to your specific needs and aspirations. Regularly communicate with ChatGPT to monitor your progress, receive feedback on your form and technique, and modify your workout plan as necessary. ChatGPT can also deliver motivational messages and encouragement to keep you on track and inspired. Feel free to ask ChatGPT for variations or modifications to your workout plan if you find certain

P
promptstack$1.99
5,091 5,102
Productivity & Workflow
Universal

Growth Mindset Guru

Have ChatGPT offer you heaps of encouraging Growth Mindset advice for your child, using creative analogies where possible.

S
schemawriterFree
1,537 1,546
Productivity & Workflow
ChatGPT

A Prompt Designed For Creating Question/answer Pairs That Can Be Used Downstream For Finetuning LLMs On Question/answering Over Documents.

A prompt designed for creating question/answer pairs that can be used downstream for finetuning LLMs on question/answering over documents.

A
aicanvas$1.99
3,257 20,905