Analys och syntes
På denna sida
Grok som analysverktyg
Textanalys är där Grok verkligen glänser. Att sammanfatta ett 50-sidigt dokument, extrahera strukturerad data från fritext, jämföra argument eller klassificera kundomdömen: uppgifter som tar timmar för hand sker på sekunder med rätt promptar.
Sammanfatta effektivt
En bra sammanfattning är inte bara en kortare text. Det är en omvandling som fångar kärnan samtidigt som det överflödiga sållas bort. Kvaliteten på sammanfattningen beror på hur precist du formulerar din begäran.
Ledningssammanfattning
Summarize this document in an executive summary of 5 lines maximum.
Document:
[paste the text here]
Instructions:
- Start with the main conclusion
- Include the 2-3 most important figures
- Target audience: CEO who has 30 seconds
- No technical details or methodology
Strukturerad sammanfattning
Summarize this report following this structure:
1. Study objective (1 sentence)
2. Methodology (1 sentence)
3. Key results (3-5 bullet points)
4. Recommendations (2-3 bullet points)
5. Limitations (1-2 bullet points)
Document:
[paste the text here]
Constraints: each section must not exceed 2 lines.
Jämförande sammanfattning
I have two articles on the same topic. Summarize each in 3 points, then identify points of agreement and disagreement.
Article 1:
[text]
Article 2:
[text]
Output format:
## Article 1 - Key Points
## Article 2 - Key Points
## Agreements
## Disagreements
Dataextraktion
Extraktion omvandlar ostrukturerad text till strukturerad data. Detta är särskilt användbart vid bearbetning av stora dokumentvolymer.
Entitetsextraktion
Extract the following information from this contract:
- Parties (full name, role)
- Signing date
- Contract duration
- Total amount
- Termination conditions
- Any penalties
Contract:
[paste the contract text]
Output format: JSON with the keys above.
If information is not found, indicate "unspecified".
Extraktion av kvantitativa data
Extract all numerical data from this financial report and organize them in a table:
| Indicator | Value | Period | Variation |
Report:
[paste the text]
Include only explicitly mentioned data, no estimates.
Jämförelse och analys
SWOT-analys
Perform a SWOT analysis based on this company description.
Description:
[paste the text]
Format:
## Strengths (internal, positive)
## Weaknesses (internal, negative)
## Opportunities (external, positive)
## Threats (external, negative)
For each element, briefly justify with an excerpt from the source text.
Maximum 4 elements per category.
Argumentationsanalys
Analyze the arguments presented in this text:
Text:
[paste the text]
For each identified argument:
1. Summarize the argument in 1 sentence
2. Evaluate its strength (strong / moderate / weak)
3. Identify supporting evidence or data
4. Identify any weaknesses or biases
Be objective and do not take a position.
Klassificering
Klassificering av kundomdömen
Classify each of these customer feedback items by:
- Category: product, delivery, customer service, price, website
- Sentiment: positive, negative, neutral, mixed
- Urgency: high, medium, low
Feedback:
1. "The package arrived open and the product was broken"
2. "Very satisfied with the quality, I recommend it"
3. "The site crashes systematically at payment"
4. "Price is fair for the quality, nothing exceptional"
5. "Impossible to reach support for 3 days"
Format: Markdown table with columns No., Category, Sentiment, Urgency, Justification.
Trendanalys
Analyze this monthly sales data and identify:
Data:
Jan: 45K | Feb: 42K | Mar: 51K | Apr: 48K | May: 55K | Jun: 62K
Jul: 58K | Aug: 41K | Sep: 67K | Oct: 71K | Nov: 78K | Dec: 85K
1. General trend (growth, decline, stagnation)
2. Anomalies or unusual variations
3. Any seasonality
4. A projection for the next 3 months (with assumptions)
Justify each observation with the data.
Övning
Ta ett dokument som du behöver analysera regelbundet (rapport, kundomdömen, konkurrentbevakning). Skapa en prompt för strukturerad sammanfattning och en för dataextraktion. Testa dem på ett riktigt dokument och justera utdataformatet tills du får ett resultat som är direkt användbart.
Viktiga punkter
- Specificera vilken typ av sammanfattning du vill ha (ledningsmässig, strukturerad, jämförande) och vilken målgrupp den riktar sig till.
- Vid extraktion: lista explicit de fält som ska extraheras och önskat utdataformat.
- Begär motiveringar för analyser och klassificeringar.
- Ange hur saknad data ska hanteras («unspecified» snarare än att hitta på något).
- En bra analysprompt ger ett resultat som är direkt användbart utan behov av omformatering.