Closed himynamesdave closed 1 day ago
change
/api/v1/feeds/{feed_id}/posts/{post_id}/summarize/
to
/api/v1/feeds/{feed_id}/posts/{post_id}/summarise/
Also make the endpoint summary / description
Get the summary of the Post
Get the summary of the post if ai_summary_provider
was enabled
Sometime blog posts can be long and users only want a simplified version of what the post is talking about
We can get the AI (if keys exist) to simplify the posts into a few paragraphs and produce a markdown summary for each
This should then be provided on
feeds/id/posts/id/summary
In profile, user should be able to set --ai_summary_provider in form provider:model e.g. openai:gpt4o
if not provided, no summary will be generated for the post.