Analýza a syntéza
Na této stránce
Grok jako nástroj pro analýzu
Analýza textu je oblast, ve které Grok vyniká. Shrnutí 50stránkového dokumentu, extrakce strukturovaných dat z volného textu, porovnání argumentů či klasifikace zpětné vazby od zákazníků: úkoly, které ručně zabere hodiny, se správnými prompty zvládneš během vteřin.
Efektivní shrnování
Kvalitní shrnutí není jen kratší verze textu. Jde o transformaci, která zachytí podstatu a odstraní vše nepodstatné. Kvalita shrnutí závisí na přesnosti tvého zadání.
Exekutivní shrnutí
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
Strukturované shrnutí
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.
Komparativní shrnutí
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
Extrakce dat
Extrakce převádí nestrukturovaný text na strukturovaná data. To je obzvlášť užitečné při zpracování velkého objemu dokumentů.
Extrakce entit
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".
Extrakce kvantitativních dat
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.
Porovnání a analýza
SWOT analýza
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.
Analýza argumentů
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.
Klasifikace
Klasifikace zpětné vazby od zákazníků
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.
Analýza trendů
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.
Praxe
Vezmi si dokument, který potřebuješ pravidelně analyzovat (zpráva, zpětná vazba od zákazníků, konkurenční zpravodajství). Vytvoř prompt pro strukturované shrnutí a prompt pro extrakci dat. Otestuj je na reálném dokumentu a upravuj formát výstupu tak dlouho, dokud nezískáš výsledek, který je přímo použitelný.
Klíčové poznatky
- Upřesni typ požadovaného shrnutí (exekutivní, strukturované, komparativní) a cílovou skupinu.
- Při extrakci explicitně vyjmenuj pole, která se mají extrahovat, a formát výstupu.
- Požaduj zdůvodnění pro analýzy a klasifikace.
- Specifikuj, jak zacházet s chybějícími daty („unspecified“ místo vymýšlení).
- Dobrý analytický prompt produkuje výsledek, který je přímo použitelný bez dalšího formátování.