MyShell
  • About MyShell
    • What is MyShell
    • MyShell in a Nutshell
    • Quickstart
  • Explore AI Agents
    • Image Generation
    • Video Generation
    • Meme Generation
    • Role-Playing Game
    • Character
    • Utility
  • Create AI Agents
    • Classic Mode
      • Enhanced Prompt
      • Knowledge Base
      • Telegram Integration
    • Pro Config Mode
      • Core Concepts
      • Tutorial
        • Tutorial Structure
        • Hello World with Pro Config
        • Building Workflow
        • Transitions
        • Expressions and Variables
        • Integration with Any Widget
        • An Advanced Example
      • Basic
        • Common
        • Atomic State
        • Transition
        • Automata
        • Modules
      • Advanced
        • Cron Pusher
        • Neutral Language To SD Prompt
        • Advanced Input Validation
        • Advanced Memory Manager in Prompt Widget
      • Tools
        • AutoConfig Agent
        • Cache Mode
        • Knowledge Base Agent
        • Crawler Widget
      • Example
        • Homeless With You
        • Random Routing
        • Function Calling
      • API Reference
        • Atomic State
        • Transition
        • Automata
        • Context
        • Module
          • AnyWidget Module
            • Prompt Widget
            • LLM Widget
            • TTS Widget
            • Code Runner Widget
            • Melo TTS
            • Age Transformation
            • ChatImg
            • GIF Generation
            • Music Generation
          • LLM Module
          • LLM Function Module
          • TTS Module
          • Google Search Module
        • Widgets
          • Bark TTS
          • Champ
          • CoinGecko
          • ControlNet with Civitai
          • Crawler
          • Crypto News
          • Data Visualizer
          • Email Sender
          • Google Flight Search
          • Google Hotel Search
          • Google Image Search
          • Google Map Search
          • Google News Search
          • Google Scholar Search
          • Google Search
          • GroundedSAM
          • Image Text Fuser
          • Information Extractor - OpenAI Schema Generator
          • Information Extractor
          • Instagram Search
          • JSON to Table
          • LinkedIn
          • MS Word to Markdown
          • Markdown to MS Word
          • Markdown to PDF
          • Mindmap Generator
          • Notion Database
          • OCR
          • Pdf to Markdown
          • RMBG
          • Stabel-Video-Diffusion
          • Stable Diffusion Inpaint
          • Stable Diffusion Recommend
          • Stable Diffusion Transform
          • Stable Diffusion Upscale
          • Stable Diffusion with 6 fixed category
          • Stable Diffusion with Civitai
          • Storydiffusion
          • Suno Lyrics Generator
          • Suno Music Generator
          • Table to Markdown
          • TripAdvisor
          • Twitter Search
          • UDOP: Document Question Answering
          • Weather forecasting
          • Whisper large-v3
          • Wikipedia
          • Wolfram Alpha Search
          • Yelp Search
          • YouTube Downloader
          • YouTube Transcriber
          • Youtube Search
      • FAQs
      • Changelog
    • ShellAgent Mode
      • Download and Installation
      • App Builder
      • Workflow
      • Build Custom Widget
      • Publish to MyShell
      • Customized Pricing For Your Agent
      • Example
        • Child Book X Agent w/ DeepSeek
        • Kids Book NFT AI Agent w/ BNB Chain
        • DeFAI Agent w/ BNB Chain
  • Shell Launchpad
    • How to Launch a Token
    • Trade Agent Tokens
  • Tokenomics
    • $SHELL Basics
    • $SHELL Token Utility
    • How to Obtain $SHELL
    • Roadmap
  • Open-source AI Framework/SDK
    • ShellAgent
    • OpenVoice
    • MeloTTS
    • JetMoE
    • AIlice
  • Links
Powered by GitBook
On this page
  • Try it in the Widget Center
  • Usage
  • Get Full Wikipedia Article
  • Summary Wikipedia Article
  1. Create AI Agents
  2. Pro Config Mode
  3. API Reference
  4. Widgets

Wikipedia

Search Wikipedia article and summary it

PreviousWhisper large-v3NextWolfram Alpha Search

Last updated 1 year ago

This widget supports multiple actions. For a more comprehensive understanding of its functionality, we recommend reviewing the following documentation carefully.

You need to pass both the action and other input parameters of the chosen action to your module_config

Try it in the Widget Center

Click this to try this widget and copy the Pro Config template.

Usage

Get Full Wikipedia Article

action search_title

Input Parameters

Name
Type
Description
Default
Required

action

string

The action you want to perform

search_title

article

string

The title of the article you want to search

artificial intelligence

Output Parameters

Name
Type
Description
File Type

data

object

The search results of the wikipedia

Output Example

{
  "data": {
    "url": "https://object-storage-16oh.lepton.ai/ws-k8d7q1rw/wikipedia/output/2c99c27f01264bf8808d0f1fc8e770f7.json"
  }
}

Summary Wikipedia Article

action summary_title

Input Parameters

Name
Type
Description
Default
Required

action

string

The action you want to perform

summary_title

article

string

The title of the article you want to search

artificial intelligence

Output Parameters

Name
Type
Description
File Type

data

object

The search results of the wikipedia

Output Example

{
  "data": {
    "content_urls": {
      "desktop": {
        "edit": "https://en.wikipedia.org/wiki/Artificial_intelligence?action=edit",
        "page": "https://en.wikipedia.org/wiki/Artificial_intelligence",
        "revisions": "https://en.wikipedia.org/wiki/Artificial_intelligence?action=history",
        "talk": "https://en.wikipedia.org/wiki/Talk:Artificial_intelligence"
      },
      "mobile": {
        "edit": "https://en.m.wikipedia.org/wiki/Artificial_intelligence?action=edit",
        "page": "https://en.m.wikipedia.org/wiki/Artificial_intelligence",
        "revisions": "https://en.m.wikipedia.org/wiki/Special:History/Artificial_intelligence",
        "talk": "https://en.m.wikipedia.org/wiki/Talk:Artificial_intelligence"
      }
    },
    "description": "Intelligence of machines",
    "description_source": "local",
    "dir": "ltr",
    "displaytitle": "\u003cspan class=\"mw-page-title-main\"\u003eArtificial intelligence\u003c/span\u003e",
    "extract": "Artificial intelligence (AI), in its broadest sense, is intelligence exhibited by machines, particularly computer systems. It is a field of research in computer science that develops and studies methods and software which enable machines to perceive their environment and uses learning and intelligence to take actions that maximize their chances of achieving defined goals. Such machines may be called AIs.",
    "extract_html": "\u003cp\u003e\u003cb\u003eArtificial intelligence\u003c/b\u003e (\u003cb\u003eAI\u003c/b\u003e), in its broadest sense, is intelligence exhibited by machines, particularly computer systems. It is a field of research in computer science that develops and studies methods and software which enable machines to perceive their environment and uses learning and intelligence to take actions that maximize their chances of achieving defined goals. Such machines may be called AIs.\u003c/p\u003e",
    "lang": "en",
    "namespace": {
      "id": 0,
      "text": ""
    },
    "pageid": 1164,
    "revision": "1220923766",
    "tid": "06f57629-0401-11ef-a344-e22c5cbd2b2b",
    "timestamp": "2024-04-26T19:13:13Z",
    "title": "Artificial intelligence",
    "titles": {
      "canonical": "Artificial_intelligence",
      "display": "\u003cspan class=\"mw-page-title-main\"\u003eArtificial intelligence\u003c/span\u003e",
      "normalized": "Artificial intelligence"
    },
    "type": "standard",
    "wikibase_item": "Q11660"
  }
}
url