-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fc8fdc5
commit 412efb6
Showing
5 changed files
with
6 additions
and
47 deletions.
There are no files selected for viewing
This file contains 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 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,44 +1 @@ | ||
#!/usr/bin/env python3 | ||
|
||
global GENERATE_EMAIL_PROMPT_PREFIX | ||
global GENERATE_SUMMARY_PROMPT_PREIX | ||
|
||
GENERATE_EMAIL_PROMPT_PREFIX = ( | ||
"can you take this data and summarize in professional manner for an email on the team status for my manager?\n" | ||
+ "Data: " | ||
) | ||
GENERATE_SUMMARY_PROMPT_PREIX = ( | ||
"can you provide a short summary of what what was accomplished overall along with the time frame it was accomplished in, please categorize the majors improvements in areas_of__focus and please provide individual breakdown based on the following list of team members, list each contributor as a team member, and work using the following " | ||
+ "Format: \n" | ||
+ "{ \n" | ||
+ "'team'" | ||
+ ": [{" | ||
+ "\n 'name'" | ||
+ ": '', " | ||
+ "\n 'accomplishments'" | ||
+ ": '' " | ||
+ " ," | ||
+ "\n 'commits'" | ||
+ ": '' \n" | ||
+ "}]," | ||
+ "\n'report'" | ||
+ ": {" | ||
+ "\n 'summary'" | ||
+ ": ''" | ||
+ ", \n 'highlights'" | ||
+ ": [{" | ||
+ "\n 'title'" | ||
+ ": '' ," | ||
+ "\n 'description'" | ||
+ ": '' " | ||
+ "\n }], \n" | ||
+ "'areas_of_focus'" | ||
+ ": [], \n" | ||
+ " 'conclusion'" | ||
+ ": ''" | ||
+ "\n}" | ||
+ "\n}" | ||
+ "\n" | ||
" under no circumstances show the reponse include triple single quotes or extraneous newline characters the response data must use double quotes not single quote. The highlights section must be included in own element outside of the summary, THE RESPONSE MUST BE PROPERLY FORMATTED JSON " | ||
+ "Data:" | ||
) |
This file contains 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 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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
import sqlite3 | ||
import uuid | ||
from .team_member import TeamMember | ||
|
||
|
||
class TeamMemberModel: | ||
|
This file contains 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 |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
import sqlite3 | ||
import uuid | ||
from .team import Team | ||
|
||
|
||
class TeamModel: | ||
|