How 20 Minutes empowers journalists and boosts viewers engagement with generative AI on Amazon Bedrock


This put up is co-written with Aurélien Capdecomme and Bertrand d’Aure from 20 Minutes.

With 19 million month-to-month readers, 20 Minutes is a significant participant within the French media panorama. The media group delivers helpful, related, and accessible info to an viewers that consists primarily of younger and lively city readers. Each month, almost 8.3 million 25–49-year-olds select 20 Minutes to remain knowledgeable. Established in 2002, 20 Minutes persistently reaches greater than a 3rd (39 %) of the French inhabitants every month via print, net, and cellular platforms.

As 20 Minutes’s know-how staff, we’re liable for growing and working the group’s net and cellular choices and driving revolutionary know-how initiatives. For a number of years, we’ve got been actively utilizing machine studying and synthetic intelligence (AI) to enhance our digital publishing workflow and to ship a related and customized expertise to our readers. With the appearance of generative AI, and specifically massive language fashions (LLMs), we’ve got now adopted an AI by design technique, evaluating the applying of AI for each new know-how product we develop.

Certainly one of our key targets is to supply our journalists with a best-in-class digital publishing expertise. Our newsroom journalists work on information tales utilizing Storm, our customized in-house digital modifying expertise. Storm serves because the entrance finish for Nova, our serverless content material administration system (CMS). These purposes are a spotlight level for our generative AI efforts.

In 2023, we recognized a number of challenges the place we see the potential for generative AI to have a optimistic impression. These embody new instruments for newsroom journalists, methods to extend viewers engagement, and a brand new method to make sure advertisers can confidently assess the model security of our content material. To implement these use circumstances, we depend on Amazon Bedrock.

Amazon Bedrock is a completely managed service that provides a alternative of high-performing basis fashions (FMs) from main AI corporations like AI21 Labs, Anthropic, Cohere, Meta, Stability AI, and Amazon Web Services (AWS) via a single API, together with a broad set of capabilities that you must construct generative AI purposes with safety, privateness, and accountable AI.

This weblog put up outlines numerous use circumstances the place we’re utilizing generative AI to handle digital publishing challenges. We dive into the technical elements of our implementation and clarify our resolution to decide on Amazon Bedrock as our basis mannequin supplier.

Figuring out challenges and use circumstances

In the present day’s fast-paced information setting presents each challenges and alternatives for digital publishers. At 20 Minutes, a key aim of our know-how staff is to develop new instruments for our journalists that automate repetitive duties, enhance the standard of reporting, and permit us to achieve a wider viewers. Based mostly on this aim, we’ve got recognized three challenges and corresponding use circumstances the place generative AI can have a optimistic impression.

The primary use case is to make use of automation to attenuate the repetitive guide duties that journalists carry out as a part of the digital publishing course of. The core work of growing a information story revolves round researching, writing, and modifying the article. Nevertheless, when the article is full, supporting info and metadata should be outlined, corresponding to an article abstract, classes, tags, and associated articles.

Whereas these duties can really feel like a chore, they’re vital to search engine optimization (SEO) and subsequently the viewers attain of the article. If we are able to automate a few of these repetitive duties, this use case has the potential to unencumber time for our newsroom to concentrate on core journalistic work whereas rising the attain of our content material.

The second use case is how we republish information company dispatches at 20 Minutes. Like most information retailers, 20 Minutes subscribes to news agencies, such because the Agence France-Presse (AFP) and others, that publish a feed of stories dispatches masking nationwide and worldwide information. 20 Minutes journalists choose tales related to our viewers and rewrite, edit, and increase on them to suit the editorial requirements and distinctive tone our readership is used to. Rewriting these dispatches can be crucial for search engine optimisation, as search engines like google rank duplicate content material low. As a result of this course of follows a repeatable sample, we determined to construct an AI-based device to simplify the republishing course of and scale back the time spent on it.

The third and remaining use case we recognized is to enhance transparency across the model security of our revealed content material. As a digital writer, 20 Minutes is dedicated to offering a brand-safe setting for potential advertisers. Content material could be categorized as brand-safe or not brand-safe based mostly on its appropriateness for promoting and monetization. Relying on the advertiser and model, various kinds of content material is likely to be thought-about acceptable. For instance, some advertisers won’t need their model to look subsequent to information content material about delicate subjects corresponding to army conflicts, whereas others won’t wish to seem subsequent to content material about medication and alcohol.

Organizations such because the Interactive Advertising Bureau (IAB) and the Global Alliance for Responsible Media (GARM) have developed complete guidelines and frameworks for classifying the model security of content material. Based mostly on these pointers, knowledge suppliers such because the IAB and others conduct automated model security assessments of digital publishers by frequently crawling web sites corresponding to 20minutes.fr and calculating a model security rating.

Nevertheless, this model security rating is site-wide and doesn’t break down the model security of particular person information articles. Given the reasoning capabilities of LLMs, we determined to develop an automatic per-article model security evaluation based mostly on industry-standard pointers to supply advertisers with a real-time, granular view of the model security of 20 Minutes content material.

Our technical resolution

At 20 Minutes, we’ve been utilizing AWS since 2017, and we goal to construct on high of serverless providers each time attainable.

The digital publishing frontend utility Storm is a single-page utility constructed utilizing React and Material Design and deployed utilizing Amazon Simple Storage Service (Amazon S3) and Amazon CloudFront. Our CMS backend Nova is carried out utilizing Amazon API Gateway and several other AWS Lambda features. Amazon DynamoDB serves as the first database for 20 Minutes articles. New articles and modifications to present articles are captured utilizing DynamoDB Streams, which invokes processing logic in AWS Step Functions and feeds our search service based mostly on Amazon OpenSearch.

We combine Amazon Bedrock utilizing AWS PrivateLink, which permits us to create a private connection between our Amazon Virtual Private Cloud (VPC) and Amazon Bedrock with out traversing the general public web.

20 Minutes architecture diagramWhen engaged on articles in Storm, journalists have entry to a number of AI instruments carried out utilizing Amazon Bedrock. Storm is a block-based editor that enables journalists to mix a number of blocks of content material, corresponding to title, lede, textual content, picture, social media quotes, and extra, into an entire article. With Amazon Bedrock, journalists can use AI to generate an article abstract suggestion block and place it immediately into the article. We use a single-shot immediate with the total article textual content in context to generate the abstract.

Storm CMS additionally provides journalists recommendations for article metadata. This consists of suggestions for acceptable classes, tags, and even in-text hyperlinks. These references to different 20 Minutes content material are vital to rising viewers engagement, as search engines like google rank content material with related inside and exterior hyperlinks increased.

To implement this, we use a mix of Amazon Comprehend and Amazon Bedrock to extract essentially the most related phrases from an article’s textual content after which carry out a search in opposition to our inside taxonomic database in OpenSearch. Based mostly on the outcomes, Storm supplies a number of recommendations of phrases that must be linked to different articles or subjects, which customers can settle for or reject.

20 Minutes summary generation feature

Information dispatches develop into obtainable in Storm as quickly as we obtain them from our companions corresponding to AFP. Journalists can browse the dispatches and choose them for republication on 20minutes.fr. Each dispatch is manually reworked by our journalists earlier than publication. To take action, journalists first invoke a rewrite of the article by an LLM utilizing Amazon Bedrock. For this, we use a low-temperature single-shot immediate that instructs the LLM to not reinterpret the article through the rewrite, and to maintain the phrase rely and construction as related as attainable. The rewritten article is then manually edited by a journalist in Storm like every other article.

To implement our new model security function, we course of each new article revealed on 20minutes.fr. At the moment, we use a single shot immediate that features each the article textual content and the IAB model security pointers in context to get a sentiment evaluation from the LLM. We then parse the response, retailer the sentiment, and make it publicly obtainable for every article to be accessed by advert servers.

Classes discovered and outlook

Once we began engaged on generative AI use circumstances at 20 Minutes, we have been shocked at how shortly we have been capable of iterate on options and get them into manufacturing. Because of the unified Amazon Bedrock API, it’s simple to modify between fashions for experimentation and discover one of the best mannequin for every use case.

For the use circumstances described above, we use Anthropic’s Claude in Amazon Bedrock as our main LLM due to its total prime quality and, specifically, its high quality in recognizing French prompts and producing French completions. As a result of 20 Minutes content material is sort of solely French, these multilingual capabilities are key for us. We’ve got discovered that cautious immediate engineering is a key success issue and we carefully adhere to Anthropic’s prompt engineering resources to maximise completion high quality.

Even with out counting on approaches like fine-tuning or retrieval-augmented generation (RAG) up to now, we are able to implement use circumstances that ship actual worth to our journalists. Based mostly on knowledge collected from our newsroom journalists, our AI instruments save them a median of eight minutes per article. With round 160 items of content material revealed every single day, that is already a major period of time that may now be spent reporting the information to our readers, slightly than performing repetitive guide duties.

The success of those use circumstances relies upon not solely on technical efforts, but additionally on shut collaboration between our product, engineering, newsroom, advertising and marketing, and authorized groups. Collectively, representatives from these roles make up our AI Committee, which establishes clear insurance policies and frameworks to make sure the clear and accountable use of AI at 20 Minutes. For instance, each use of AI is mentioned and authorized by this committee, and all AI-generated content material should bear human validation earlier than being revealed.

We consider that generative AI remains to be in its infancy relating to digital publishing, and we look ahead to bringing extra revolutionary use circumstances to our platform this 12 months. We’re at the moment engaged on deploying fine-tuned LLMs utilizing Amazon Bedrock to precisely match the tone and voice of our publication and additional enhance our model security evaluation capabilities. We additionally plan to make use of Bedrock fashions to tag our present picture library and supply automated recommendations for article photographs.

Why Amazon Bedrock?

Based mostly on our analysis of a number of generative AI mannequin suppliers and our expertise implementing the use circumstances described above, we chosen Amazon Bedrock as our main supplier for all our basis mannequin wants. The important thing causes that influenced this resolution have been:

  1. Alternative of fashions: The marketplace for generative AI is evolving quickly, and the AWS strategy of working with a number of main mannequin suppliers ensures that we’ve got entry to a big and rising set of foundational fashions via a single API.
  2. Inference efficiency: Amazon Bedrock delivers low-latency, high-throughput inference. With on-demand and provisioned throughput, the service can persistently meet all of our capability wants.
  3. Personal mannequin entry: We use AWS PrivateLink to ascertain a non-public connection to Amazon Bedrock endpoints with out traversing the general public web, guaranteeing that we preserve full management over the info we ship for inference.
  4. Integration with AWS providers: Amazon Bedrock is tightly built-in with AWS providers corresponding to AWS Identity and Access Management (IAM) and the AWS Software Development Kit (AWS SDK). Consequently, we have been capable of shortly combine Bedrock into our present structure with out having to adapt any new instruments or conventions.

Conclusion and outlook

On this weblog put up, we described how 20 Minutes is utilizing generative AI on Amazon Bedrock to empower our journalists within the newsroom, attain a broader viewers, and make model security clear to our advertisers. With these use circumstances, we’re utilizing generative AI to carry extra worth to our journalists immediately, and we’ve constructed a basis for promising new AI use circumstances sooner or later.

To be taught extra about Amazon Bedrock, begin with Amazon Bedrock Resources for documentation, weblog posts, and extra buyer success tales.


In regards to the authors

Aurélien CapdecommeAurélien Capdecomme is the Chief Expertise Officer at 20 Minutes, the place he leads the IT growth and infrastructure groups. With over 20 years of expertise in constructing environment friendly and cost-optimized architectures, he has a powerful concentrate on serverless technique, scalable purposes and AI initiatives. He has carried out innovation and digital transformation methods at 20 Minutes, overseeing the whole migration of digital providers to the cloud.

Bertrand d'AureBertrand d’Aure is a software program developer at 20 Minutes. An engineer by coaching, he designs and implements the backend of 20 Minutes purposes, with a concentrate on the software program utilized by journalists to create their tales. Amongst different issues, he’s liable for including generative AI options to the software program to simplify the authoring course of.

Dr. Pascal VogelDr. Pascal Vogel is a Options Architect at Amazon Net Providers. He collaborates with enterprise prospects throughout EMEA to construct cloud-native options with a concentrate on serverless and generative AI. As a cloud fanatic, Pascal loves studying new applied sciences and connecting with like-minded prospects who wish to make a distinction of their cloud journey.

Leave a Reply

Your email address will not be published. Required fields are marked *