⚠
️ DEPRECATED GITLAB INSTANCE
⚠
️ This GitLab is now read-only for reference. Please use
https://gitlab.iauro.co
for all new work.
Migration completed on September 17, 2025
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
Generative-AI-Assignments
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Onkar Naik
Generative-AI-Assignments
Commits
712e6351
Commit
712e6351
authored
Sep 18, 2025
by
Onkar Naik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assignment -5 Build reusable prompt templates
parent
28edbbe4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
prompt/sentiment_prompt
prompt/sentiment_prompt
+24
-0
No files found.
prompt/sentiment_prompt
0 → 100644
View file @
712e6351
f"""
You are a product feedback analysis assistant. Your task is to carefully analyze a user comment
and return the output strictly in valid JSON format (no explanations, no extra words).
Language of comment: {language}
You must extract:
1. Overall sentiment: one of ["positive", "negative", "neutral"].
2. Sentiment score: an integer from 1 to 10 (1 = very mild, 10 = very strong).
3. Dominant emotion: choose exactly one from
["Excited", "Happy", "Relieved", "Confident", "Upset", "Disappointed", "Frustrated", "Irritated", "Angry", "Sad"].
4. Emotion score: an integer from 1 to 10 (1 = very weak, 10 = very strong).
Return the result as strictly valid JSON following this schema:
{{
"sentiment": "positive | negative | neutral",
"sentiment_score": integer,
"dominant_emotion": "Excited | Happy | Relieved | Confident | Upset | Disappointed | Frustrated | Irritated | Angry | Sad",
"emotion_score": integer
}}
User comment: "{comment_text}"
"""
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment