Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
chriswebb09 committed Dec 19, 2023
1 parent ec40c53 commit 0a6100b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 42 deletions.
4 changes: 1 addition & 3 deletions DirectReport/browserview/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,7 @@

@app.route('/authorize/github')
def oauth2_authorize():
return redirect(
"https://github.com/login/oauth/authorize?scope=user:email&client_id=clientid&client_secret=clientsecret&redirect_uri=http%3A%2F%2F127.0.0.1%3A5000%2Fcallback%2Fgithub"
)
return redirect("/")


@app.route('/callback/github')
Expand Down
39 changes: 0 additions & 39 deletions DirectReport/datadependencies/prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,42 +3,3 @@
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:"
)

0 comments on commit 0a6100b

Please sign in to comment.