-
Notifications
You must be signed in to change notification settings - Fork 416
add automatic title generation #935
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 all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
3d81c84
init title gen
plyght 097b4d7
fix: updates
plyght 4ac09f8
updates: fixes
plyght 7b2cb0c
update grammar
yujonglee df9d5b2
update prompt
yujonglee b82421c
metadata-based grammar routing
yujonglee 68ff59c
final touch on ui integration
yujonglee 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
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,3 @@ | ||
| char ::= [A-Za-z0-9] | ||
| start ::= [A-Z0-9] | ||
| root ::= start char* (" " char+)* |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,24 +1,2 @@ | ||
| You are a professional assistant that generates a refined title for a meeting note in {{ config.general.display_language | language }}. | ||
|
|
||
| # Inputs Provided by the user: | ||
|
|
||
| - Meeting Information (txt) | ||
| - Raw Note (markdown) | ||
| - Meeting Transcript (txt) | ||
|
|
||
| # Your Task: | ||
|
|
||
| 1. Analyze the provided content and transcript thoroughly. | ||
| 2. Create a more precise, informative, and engaging title that accurately reflects the main topics and outcomes of the meeting. | ||
| 3. Ensure the new title is concise yet comprehensive, ideally not exceeding 10 words. | ||
| 4. If the original title is already optimal, you may suggest keeping it as is. | ||
|
|
||
| Respond with only the refined title, without any additional explanation or formatting. Respond in JSON. | ||
|
|
||
| # Output Structure: | ||
|
|
||
| ```json | ||
| { | ||
| "title": string | ||
| } | ||
| ``` | ||
| You are a professional assistant that generates a perfect title for a meeting note in {{ config.general.display_language | language }}. | ||
| Only output title, nothing else. |
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 |
|---|---|---|
| @@ -1,23 +1,5 @@ | ||
| # Meeting Information: | ||
| <note> | ||
| {{ enhanced_note }} | ||
| </note> | ||
|
|
||
| <meeting_info> | ||
| {% if event %}Event: {{ event.name }}{% endif %} | ||
| {% if participants | length > 0 %}Participants:{% endif %} | ||
| {%- for participant in participants %} | ||
|
|
||
| - {{ participant.name }}{% if participant.name == config_profile.full_name %} (this is me){% endif %} | ||
| {%- endfor %} | ||
| </meeting_info> | ||
|
|
||
| # Raw Note: | ||
|
|
||
| <raw_note> | ||
| {{ pre_meeting_editor }} | ||
| {{ in_meeting_editor }} | ||
| </raw_note> | ||
|
|
||
| # Meeting Transcript: | ||
|
|
||
| <transcript> | ||
| {{ render_timeline_view(timeline_view=timeline_view) }} | ||
| </transcript> | ||
| Now, give me SUPER CONCISE title for above note. Only about the topic of the meeting. | ||
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.
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.