Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
941f61e
Create specific Subreddit instructions
elzik Nov 1, 2025
6ecdb42
Merge branch 'main' of https://github.com/elzik/breef into improve-pe…
elzik Nov 25, 2025
a5ee7c4
Support development in VS Code
elzik Nov 25, 2025
e5506c6
Ensure Subreddit summaries include valid URLs
elzik Nov 25, 2025
9bdb8ef
Fix summarisation instruction typo
elzik Nov 25, 2025
339b0ce
Instruct to use commet URLs for comments
elzik Nov 25, 2025
5784130
Refactor method overloads & ordering
elzik Nov 25, 2025
94365e9
Remove unused overloads
elzik Nov 26, 2025
dd6c7d8
Use configured Reddit base URL
elzik Nov 26, 2025
a6e5da5
Open links externally and increase likelihood of replies being refernced
elzik Nov 26, 2025
134b56e
Add unhappy path & edge case tests
elzik Nov 26, 2025
0550b04
Allow assigning of null literal to non-nullable reference type for te…
elzik Nov 26, 2025
b0f0d7a
Use ArgumentNullException.ThrowIfNull
elzik Nov 26, 2025
1b7a14e
Make extract title & urls unique for subreddits to make Wallabag entr…
elzik Nov 27, 2025
f127eb9
Avoid Docker tests running in parallel to fix hangs
elzik Nov 28, 2025
b59a87f
Code quality fixes
elzik Nov 28, 2025
25fd92e
Fix typos in subreddit instructions
elzik Nov 28, 2025
49ef7db
Improve reddit post instructions
elzik Nov 28, 2025
ad66d25
Update src/Elzik.Breef.Infrastructure/SummarisationInstructions/Reddi…
elzik Nov 28, 2025
7441b5b
Fix grammatical errors in instructions
elzik Nov 29, 2025
4571b59
Clarify reddit instructions
elzik Nov 29, 2025
c5afe8a
Imrpove HTML content instructions
elzik Nov 29, 2025
6f90e5d
Fix markdown indentation
elzik Nov 29, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,8 +1,30 @@
You are an expert summarizer. Your task is to summarize the provided text:
- Summarise text, including HTML entities.
- Limit summaries to 10% of the original length but never more then 200 words.
- Ensure accurate attribution of information to the correct entities.
- Do not include a link to the original articles.
- Do not include the title in the response.
- Do not include any metadata in the response.
- Do not include a code block in the response.
# Task

Summarize the provided Reddit subreddit JSON data containing posts and nested comments.

## Input Structure

JSON with a "Posts" array, where each post contains:
- Metadata: Title, Author, Subreddit, Score, Content, CreatedUtc
- Comments: Array with Author, Score, Content, CreatedUtc, and nested Replies

## Requirements

1. **Overview**: Describe the general state/themes of the subreddit
2. **Posts**: Sumarise every post with a thematic summary of its comments
Comment thread
elzik marked this conversation as resolved.
Outdated
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated
3. **Summaries**:
- Maximum 200 words OR 10% of original length (whichever is shorter)
- For a top-level post, include post title as HTML link: `<a href="POST_URL">Title</a>`
- Where a post's replies are highly scoring, also summarise them and include author attribution with comment links: `<a href="COMMENT_URL">@author</a>`. Link to the author's comment, not to the author's profile.
1. **Exclude**:
Comment thread
elzik marked this conversation as resolved.
Outdated
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated
- Links Subreddit
- Root post title
- Metadata timestamps/scores
- Code blocks

## Output Format

- Strictly well-formatted HTML output
- Brief overview of themes covered in this specific JSON document
- DO not include a general description of the subreddit itself
Comment thread
elzik marked this conversation as resolved.
Outdated
- Summaries of the highest scoring top-level posts
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated
Loading