Skip to content

Conversation

daveoconnor
Copy link
Collaborator

@daveoconnor daveoconnor commented Aug 29, 2025

This PR adds triggering of news article summarization using gpt-oss-120b from openrouter.

Openrouter was chosen because it allows easy switching of models even across multiple providers like OpenAI or Anthropic, without having to set up new accounts, as well as easy access to some more niche models, like Gpt-oss-120b.

Gpt-oss-120b was chosen because for summarization it's capable enough, and is cheaper than gpt-5 nano in openrouter.

Where the content or link contents are less than 1000 characters, we will continue to use those as is on the news listing page, otherwise we use the summary.

Attached is a PDF of the final full news page with summaries where back-populated.

news.pdf See later PDF.

@vinniefalco
Copy link
Member

hard to tell which ones are generated and which are written by hand

@daveoconnor
Copy link
Collaborator Author

Output v2, after adding "Write summaries in an impersonal, passive voice, never attributing actions to 'author' or similar." to the prompt at the request of @vinniefalco.

It's narrow just because of the PDF generation process.

news_v2.pdf

@daveoconnor daveoconnor force-pushed the doc/1897-ai-summaries-blog-posts branch from c12112d to 8254c4f Compare August 30, 2025 00:40
@daveoconnor
Copy link
Collaborator Author

test failures will be resolved when OPENROUTER_API_KEY is added to the envs. Do not merge before this has been completed.

@daveoconnor daveoconnor force-pushed the doc/1897-ai-summaries-blog-posts branch from 8254c4f to 1ac4512 Compare August 30, 2025 01:01
@vinniefalco
Copy link
Member

SUPER irritating that I have to download the PDF from GitHub instead of viewing it inline in my browser.

Copy link
Collaborator

@GregKaleka GregKaleka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very cool! Couple of questions for you.

@daveoconnor daveoconnor force-pushed the doc/1897-ai-summaries-blog-posts branch from 1ac4512 to 49fee93 Compare September 2, 2025 21:38
@karimarie67
Copy link
Collaborator

@GregKaleka this needs your review - thank you!

Copy link
Collaborator

@GregKaleka GregKaleka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - nice work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants