Basic Text

This guide provides examples of basic text prompts for the LLM Web Scraper API. These prompts are ideal when you want more natural, flexible output without strict structure requirements.

Article Analysis

News Article Analysis

{
    "url": "https://example.com/news-article",
    "prompt": "Analyze this news article and provide: the main story topic, key events described, important people mentioned, locations involved, and any significant statistics or numbers cited. Also note any bias or perspective in the reporting."
}

Example Response:

{
    "mainTopic": "Global Climate Summit 2024",
    "keyEvents": [
        "Agreement signed by 195 countries",
        "New emissions targets set for 2030",
        "$100B climate fund established"
    ],
    "keyPeople": [
        {
            "name": "Dr. Sarah Chen",
            "role": "UN Climate Chief",
            "significance": "Led negotiations"
        },
        {
            "name": "John Smith",
            "role": "EU Climate Commissioner",
            "significance": "Proposed funding mechanism"
        }
    ],
    "locations": [
        {
            "place": "Geneva, Switzerland",
            "context": "Summit location"
        },
        {
            "place": "Pacific Islands",
            "context": "Most affected region discussed"
        }
    ],
    "statistics": [
        {
            "value": "45% reduction",
            "context": "Proposed emissions cut by 2030"
        },
        {
            "value": "$100 billion",
            "context": "Annual climate fund size"
        }
    ],
    "reportingPerspective": "Generally neutral with emphasis on urgency of climate action"
}

Blog Post Analysis

Example Response:

Product Review Analysis

Single Product Review

Example Response:

E-commerce Product Page

Product Information Extraction

Example Response:

Best Practices for Basic Prompts

  1. Be Specific

    • Clearly state what information you want

    • List out all desired elements

    • Indicate if you need specific details

  2. Consider Scope

    • Break down complex requests into categories

    • Specify any particular areas of focus

    • Indicate if certain aspects can be skipped

  3. Request Context

    • Ask for related information when relevant

    • Request comparisons or references

    • Include temporal context if important

  4. Include Qualitative Elements

    • Request tone analysis when relevant

    • Ask for subjective assessments

    • Include sentiment analysis requirements

  5. Handle Missing Information

    • Specify how to handle missing data

    • Request confidence levels

    • Ask for explanations of gaps

Common Use Cases

  1. Content Analysis

    • Blog posts

    • News articles

    • Research papers

    • Technical documentation

  2. Product Information

    • Product reviews

    • Specifications

    • Comparisons

    • Pricing analysis

  3. User Generated Content

    • Reviews

    • Comments

    • Forum discussions

    • Social media posts

  4. Documentation

    • Technical specs

    • User guides

    • API documentation

    • Release notes

Last updated

Was this helpful?