Implement DSPy for Information Extraction

implementationChallenge

Prompt Content

Using DSPy, create a robust pipeline for one of your agents (e.g., Data Gatherer or Risk Analyst) to extract key entities (vendor names, item types, countries, owner entities) and relationships from unstructured text (news articles, incident reports). Optimize the GPT-5 prompts programmatically to ensure high accuracy and resilience to variations in input data.

Run this prompt with Vera

Execute this prompt directly in Vera with free credits, or use your own API keys for unlimited usage.

Usage Tips

Copy the prompt and paste it into your preferred AI tool (Claude, ChatGPT, Gemini)

Customize placeholder values with your specific requirements and context

For best results, provide clear examples and test different variations