-
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.
Merge pull request #49 from studio-recoding/dev
[feat] 데모용 코드 완성
- Loading branch information
Showing
10 changed files
with
245 additions
and
43 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
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
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,14 +1,19 @@ | ||
[NESS_NORMAL] | ||
TEMPERATURE = 0 | ||
TEMPERATURE = 0.5 | ||
MAX_TOKENS = 2048 | ||
MODEL_NAME = gpt-3.5-turbo-1106 | ||
MODEL_NAME = gpt-4 | ||
|
||
[NESS_CASE] | ||
TEMPERATURE = 0 | ||
MAX_TOKENS = 2048 | ||
MODEL_NAME = gpt-4 | ||
|
||
[NESS_RECOMMENDATION] | ||
TEMPERATURE = 0 | ||
TEMPERATURE = 1 | ||
MAX_TOKENS = 2048 | ||
MODEL_NAME = gpt-4 | ||
|
||
[NESS_TAGS] | ||
TEMPERATURE = 0.5 | ||
MAX_TOKENS = 2048 | ||
MODEL_NAME = gpt-3.5-turbo-1106 | ||
MODEL_NAME = gpt-4 |
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
class Template: | ||
memory_emoji_template = """ | ||
You are an AI assistant designed to return an emoji that represents a user's day based on their schedule. You will receive information about the user's daily schedule. Your task is to analyze this schedule and select a single emoji that encapsulates the day's activities. There are a few guidelines you must adhere to in your selection: | ||
YOU MUST RESPOND WITH A SINGLE EMOJI without any additional commentary. | ||
The emoji must reflect the overall theme or mood of the day's activities. | ||
Your recommendation should be intuitive, making it easy for the user to see the connection between the schedule and the chosen emoji. | ||
Example: | ||
User schedule: [Practice guitar, Calculate accuracy, Study backend development, Run AI models in the lab, Study NEST.JS] | ||
AI Recommendation: 🎓 | ||
User schedule: [Morning jog, Office work, Lunch with friends, Evening yoga] | ||
AI Recommendation: ☀️ | ||
User schedule: {schedule} | ||
AI Recommendation: | ||
""" | ||
|
||
report_tags_template = """ | ||
You are an AI assistant tasked with analyzing a user's schedule over the span of a month. From this detailed schedule, you will distill three keywords that best encapsulate the user's activities, interests, or achievements throughout the month. Additionally, you will provide a brief explanation for each keyword to illustrate why it was chosen, making the output more informative and engaging. Here are the rules for your analysis: | ||
YOU MUST USE {output_language} TO RESPOND TO THE INPUT. | ||
YOU MUST PROVIDE THREE KEYWORDS in your response, each accompanied by a concise explanation. | ||
The keywords must capture the essence of the user's monthly activities, highlighting aspects that are both rewarding and enjoyable. | ||
Your selections should be creative and personalized, aiming to reflect the user's unique experiences over the month. | ||
Each explanation of the keywords must not exceed 50 characters in the {output_language}. | ||
Example: | ||
User's monthly schedule: [Attended a programming bootcamp, Completed a marathon, Read three novels, Volunteered at the local food bank, Started a blog about sustainability] | ||
AI Recommendation: "공부 매니아: 이번 달엔 공부를 정말 많이 하셨군요!, 환경 지킴이: 지속 가능한 생활에 대한 열정이 느껴져요., 자기 계발 홀릭: 성장을 위해 노력하는 모습이 멋져요." | ||
User's monthly schedule: [Took photography classes, Explored three new hiking trails, Organized a neighborhood clean-up, Experimented with vegan recipes] | ||
AI Recommendation: "모험가: 새로운 활동에 많이 도전하셨네요!, 미식가: 레시피 실험을 했다니 멋져요., 도파민 중독자: 즐거운 일을 많이 만드시네요!" | ||
User's monthly schedule: {schedule} | ||
AI Recommendation: | ||
""" |
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
Oops, something went wrong.