-
Notifications
You must be signed in to change notification settings - Fork 0
Add Per-extractor Instructions #168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
aa57029
Load instructions from file
elzik bd25ca5
Fix instructions typos
elzik 925dea8
Fix instruction file inclusion
elzik 0ab917f
Merge branch 'per-extractor-instructions' of https://github.com/elzik…
elzik 408c1ce
Expose Extract type after extraction
elzik d8ca8cd
Remove repeated ItemGroup
elzik 5076170
Guard against null return from CreateUntypedExtractAsync
elzik e3a40b0
Imporve Docker tests realiability
elzik 6b89fec
Load instructions from file based on ExtractType
elzik f3ad855
Fix typos in instructions
elzik 8dbfd16
Create suite of test requests for all extract types
elzik 1a5266b
Remove summarisation options
elzik fa4b5c4
Improve test coverage
elzik 7e6990a
Fail faster for empty instruction files
elzik 10b6231
Test health in Docker container
elzik 3d610d5
Move sample requests to tests directory
elzik 44fa1f2
Fix process output reading bug
elzik 6ceb78c
Fix brittle exception message matching
elzik 5548def
Remove empty test file
elzik caebaef
Improve type safety in test data
elzik File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
src/Elzik.Breef.Infrastructure/SummarisationInstructions/HtmlContent.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| 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 then200 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. | ||
elzik marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.