The prototype demonstrates how Retrieval-Augmented Generation (RAG) can enhance news by incorporating additional content from a news archive. The aim is to better address the questions and needs of different user personas, providing more comprehensive and contextual information.
- Live demo: https://interaktiv.br.de/accio/
- Presentation: accio-presentation.pdf
The application was created for the AI for Media Hackathon 2024, hosted by Bayerischer Rundfunk, pub and Microsoft.
The frontend for Accio was built with Create React App and Fluent UI Starter.
The code and documentation for the RAG-backend service (FastAPI, LangChain) can be found here: https://github.com/br-data/rag-enhanced-news-backend
The news editor selects a news item from a news feed. The news feeds can be customized, filtered and sorted:
With the click of a button, Accio generates follow-up questions that a reader (based on a persona) might have about a news story. Our RAG backend tries to answer these question with content from our own news archive.
Ideally, different personas could be selected and updated by the news editors, depending on the needs of different news brand. Follow-up question could be ask, using a intuitiv chat interface (not yet implemented).
- Clone the repository
git clone https://...
- Install dependencies
yarn
- Start development server
yarn start
- Build the website
yarn build
The project requires Node.js and Yarn to run locally.
The development server runs on http://localhost:3000/
The login is currently disabled in the authentication provider. To enable authentication set default values as following:
export const defaultValues = {
isAuthenticated: false,
principal: null,
login: (principal: any) => {},
logout: () => {},
};