Skip to main content

Introduction

This guide walks you through setting up Dappier News & Media Companion, a custom OpenAI GPT model that integrates with Dappier’s AI Recommendations API to dynamically process and analyze news content. This GPT retrieves AI-powered articles, summarizes key insights, and provides trend analysis across various media categories.

Watch the Video Guide

If you prefer a visual walkthrough, check out the accompanying video guide below:

Prerequisites

Before you begin, ensure you have:
  • An OpenAI account
  • API access to create and configure custom GPTs
  • A Dappier API Key (Get it from Dappier API Keys)

Step 1: Access the GPT Builder

  1. Navigate to OpenAI’s Custom GPT Page
  2. Log in to your OpenAI account
  3. Click on β€œCreate a GPT” to begin customization

Step 2: Define GPT Characteristics

Name

Set the GPT’s name to Dappier News & Media Companion

Description

Use the following description:
Processes AI-recommended news to summarize, analyze, and react to content dynamically.

Instructions

This GPT interacts with the Dappier AI Recommendations API to retrieve and process AI-powered news content. Upon receiving data from the API, it can perform multiple actions, including:
  • Summarization: Condenses articles into key points for quick understanding.
  • Reactions & Insights: Provides top reactions and expert insights based on the article content.
  • Trend Analysis: Identifies trending topics across different sources and highlights patterns.
  • Comparative Analysis: Compares multiple articles on the same topic to provide a well-rounded view.
  • Source Evaluation: Highlights credibility and relevance based on metadata such as publication date, author, and source domain.
Users can specify the type of insights they want, such as trending news, semantic matches, or the latest articles. The GPT adapts its response based on API parameters, ensuring accurate and valuable output. It prioritizes clarity, factual reporting, and relevance while avoiding speculation.

Step 3: Configure API Integration

API Endpoint

Your GPT will communicate with the Dappier AI Recommendations API at:

Authentication

Use Bearer Token authentication. Include the API key in the Authorization header:

Request Body Format

Send queries in JSON format:

Example API Request (cURL)


Step 4: Configure Capabilities

Sample Conversation Starters

  • Give me a quick summary of today’s top sports news.
  • What’s trending in lifestyle right now? Summarize the latest insights.
  • Find and summarize the latest expert advice on pet care.
  • Show me the most recent updates on sustainability and green living.

Step 5: Import API Schema

To ensure proper interaction, import the OpenAPI schema:

Step 6: Test and Iterate

  1. Use the OpenAI GPT interface to test queries like:
    • β€œSummarize today’s top financial news.”
    • β€œCompare multiple news sources on the same political topic.”
  2. Ensure responses are accurate and formatted correctly.
  3. Refine GPT behavior by adjusting instructions as needed.

Step 7: Deploy and Share

Once finalized, you can:
  • Share your GPT publicly or privately
  • Embed it in media applications
  • Continuously refine it based on feedback
Sharing Options:
  • Private: Only accessible to you
  • Unlisted: Accessible via a direct link
  • Public: Available in the GPT Store

Privacy & Security

  • All API interactions must comply with OpenAI and Dappier’s terms.
  • Keep your API key secure and do not expose it publicly.
  • Review Dappier’s Privacy Policy for more details.

Conclusion

You have now successfully created a Dappier News & Media Companion GPT, integrating real-time AI-powered news recommendations for summarization, insights, and analysis. Keep refining it to enhance user experience!