Source: factory.service/package.core/ObjServiceWikipedia.py
Wikipedia article summary retrieval service.
Queries the Wikipedia API to fetch introductory
text extracts for a given subject. Used in workflows
to enrich data with reference descriptions.
| Method | Signature | Description |
|---|---|---|
| get_summary | get_summary(subject: str) -> str |
Fetch the introductory extract for a subject. |
| process | process(context: dict) -> dict |
Workflow entry point for Wikipedia lookups. |
| run_workflow_direct | run_workflow_direct(guid: str, param1: str = '', param2: str = '', param3: str = '') -> str |
Legacy workflow direct entry point. |
Fetch Wikipedia summary for a subject.
Test with known articles.