Transform Your Understanding Of Any Topic With This Innovative Prompt Template, Which Not Only Spots The Main Themes But Also Unveils Five Intricately Related Topics, Providing A JSON Structured Output And Deep Dive Into The Subject Matter.
Transform your understanding of any topic with this innovative prompt template, which not only spots the main themes but also unveils five intricately related topics, providing a JSON structured output and deep dive into the subject matter.
Given the natural language input, identify the primary topics and generate a list of five closely related topics for each primary topic. The response should be structured in JSON format, with primary topics listed under "PrimaryTopics" and their related topics listed under "SecondaryTopics" associated with each primary topic. Ensure that the related topics are directly relevant and provide a deeper insight into the primary topic's applications, implications, or subdivisions. Input: {text} Processing Instructions:
- Parse the input text to identify the key subjects or themes.
- For each identified primary topic, brainstorm and list five related topics. These should explore applications, implications, trends, or specific technologies related to the primary topic.
- Structure the output in JSON format. The "PrimaryTopics" should include the identified main subjects from the input text. Under "SecondaryTopics", include a list of five related topics for each primary topic, demonstrating the interconnectedness and breadth of each subject area. Expected JSON Output Structure: json ⟨ "PrimaryTopics": ["Identified Primary Topic 1", "Identified Primary Topic 2"], "SecondaryTopics": {{ "Identified Primary Topic 1": ["Related Topic 1", "Related Topic 2", "Related Topic 3", "Related Topic 4", "Related Topic 5"], "Identified Primary Topic 2": ["Related Topic 1", "Related Topic 2", "Related Topic 3", "Related Topic 4", "Related Topic 5"] ⟩ }} Example:
- Input: "Artificial intelligence software to help with finances"
- Output: json "PrimaryTopics": ["Artificial Intelligence", "Finances"], "SecondaryTopics": "Artificial Intelligence": ["Financial Chatbots", "Predictive Analytics in Finance", "AI in Risk Management", "Personal Finance Management AI", "AI for Regulatory Compliance"], "Finances": ["Investment Strategies", "Budgeting Tools", "Debt Management Solutions", "Economic Forecasting", "Tax Optimization"]
{text}
This prompt contains variables shown as ⟨variable_name⟩. Replace them with your own values before using.
How to Use
Use with LangChain: hub.pull("gitmaxd/topic_expansion")
Related Prompts
More prompts in Data & Analytics
Sql Agent System Prompt
LangChain Hub prompt: langchain-ai/sql-agent-system-prompt
Buyer Persona Legend
Generate detailed User Personas for your Business with data neatly organized into a table.
Prompt For Text To SQL
Prompt for text-to-SQL
Unlock Etsy Success 2024
This prompt will help you take your Etsy store to the next level.
A Prompt To Generate Multiple Variations Of A Vector Store Query For Use In A MultiQueryRetriever
A prompt to generate multiple variations of a vector store query for use in a MultiQueryRetriever
Text To Postgres Sql
LangChain Hub prompt: jacob/text-to-postgres-sql