AI-generated news articles and journalism
TEXT_INPUT:Ask the user for the desired news topic;;CHATGPT:Prompt ChatGPT to generate a news article based on the user's input;;DISPLAY_OUTPUT:Display the generated news article to the user;;TEXT_INPUT:Ask the user if they want to read another article;;CHATGPT:If the user wants to read another article, prompt ChatGPT to generate a new article based on their input. Otherwise, end the app.
Generative AI models can significantly streamline journalism tasks and foster novel creative writing approaches. Language models like ChatGPT can be used to draft news articles after being provided with a highlight or summary. This feature could be used in financial journalism to write reports based on company earnings data or, in sports journalism, to create articles summarizing match results.
Generative models can also be used for investigative journalism. They can analyze extensive databases or records, extracting and summarizing useful information for journalists.
For visual journalism, image generators can be leveraged to create coherent, high-resolution images that match accompanying articles. By providing a textual input, AI can generate appropriate images, helping to enhance storytelling and reinforce written content. Such applications can make the information much more engaging and dynamic to readers.
How to build with Clevis
This is an example application built using Clevis, a tool that allows developers to leverage AI technology to build innovative and interactive apps. The application in question is an AI Generated News App, designed to generate news articles through the AI model ChatGPT from OpenAI, based on user-defined topics.
The application workflow consists of several systematic steps. Firstly, the application requests the desired news topic from the user via Text Input. Once a topic is provided, the application prompts ChatGPT to generate a news article based on this input, a process denoted as ChatGPT. The generated news article is then displayed to the user through the Display Output step.
Following the first cycle, the application again asks the user via Text Input if they wish to read another article. If the answer is affirmative, the application repeats the previous steps, prompting ChatGPT to generate a new article based on the user's fresh input. If the user does not wish for a new article, the application ends.
This is a simple illustration of how you can design applications leveraging OpenAI's GPT-3 technology using Clevis, to deliver dynamic and user-friendly solutions.