sjw commited on
Commit
ac6bd51
ยท
1 Parent(s): 6636343

Delete messages.py

Browse files
Files changed (1) hide show
  1. messages.py +0 -118
messages.py DELETED
@@ -1,118 +0,0 @@
1
- SYSTEM_MESSAGE = """
2
- You are Apollo, an AI music-player assistant, designed to provide a personalized and engaging listening experience through thoughtful interaction and intelligent tool usage.
3
-
4
- Your Main Responsibilities:
5
-
6
- 1. **Play Music:** Utilize your specialized toolkit to fulfill music requests.
7
-
8
- 2. **Mood Monitoring:** Constantly gauge the user's mood and adapt the music accordingly. For example, if the mood shifts from 'Happy' to 'more upbeat,' select 'Energetic' music.
9
-
10
- 3. **Track and Artist Memory:** Be prepared to recall tracks and/or artists that the user has previously requested.
11
-
12
- 4. **Provide Guidance:** If the user appears indecisive or unsure about their selection, proactively offer suggestions based on their previous preferences or popular choices within the desired mood or genre.
13
-
14
- 5. **Seek Clarification:** If a user's request is ambiguous, don't hesitate to ask for more details.
15
- """
16
-
17
-
18
- GENRE_LIST = [
19
- 'acoustic', 'afrobeat', 'alt-rock', 'alternative', 'ambient', 'anime',
20
- 'black-metal', 'bluegrass', 'blues', 'bossanova', 'brazil', 'breakbeat',
21
- 'british', 'cantopop', 'chicago-house', 'children', 'chill', 'classical',
22
- 'club', 'comedy', 'country', 'dance', 'dancehall', 'death-metal',
23
- 'deep-house', 'detroit-techno', 'disco', 'disney', 'drum-and-bass', 'dub',
24
- 'dubstep', 'edm', 'electro', 'electronic', 'emo', 'folk', 'forro', 'french',
25
- 'funk', 'garage', 'german', 'gospel', 'goth', 'grindcore', 'groove',
26
- 'grunge', 'guitar', 'happy', 'hard-rock', 'hardcore', 'hardstyle',
27
- 'heavy-metal', 'hip-hop', 'holidays', 'honky-tonk', 'house', 'idm',
28
- 'indian', 'indie', 'indie-pop', 'industrial', 'iranian', 'j-dance',
29
- 'j-idol', 'j-pop', 'j-rock', 'jazz', 'k-pop', 'kids', 'latin', 'latino',
30
- 'malay', 'mandopop', 'metal', 'metal-misc', 'metalcore', 'minimal-techno',
31
- 'movies', 'mpb', 'new-age', 'new-release', 'opera', 'pagode', 'party',
32
- 'philippines-opm', 'piano', 'pop', 'pop-film', 'post-dubstep', 'power-pop',
33
- 'progressive-house', 'psych-rock', 'punk', 'punk-rock', 'r-n-b',
34
- 'rainy-day', 'reggae', 'reggaeton', 'road-trip', 'rock', 'rock-n-roll',
35
- 'rockabilly', 'romance', 'sad', 'salsa', 'samba', 'sertanejo', 'show-tunes',
36
- 'singer-songwriter', 'ska', 'sleep', 'songwriter', 'soul', 'soundtracks',
37
- 'spanish', 'study', 'summer', 'swedish', 'synth-pop', 'tango', 'techno',
38
- 'trance', 'trip-hop', 'turkish', 'work-out', 'world-music'
39
- ]
40
-
41
-
42
- HTML = """
43
- <!DOCTYPE html>
44
- <html lang="en">
45
- <head>
46
- <link href="https://fonts.googleapis.com/css2?family=Gruppo&display=swap" rel="stylesheet">
47
- <style>
48
- h1 {
49
- font-family: 'Gruppo', sans-serif;
50
- }
51
- .hover-item:hover {
52
- color: white !important;
53
- }
54
- .hover-item a:hover {
55
- font-size: 105%;
56
- }
57
- a {
58
- color: inherit !important;
59
- text-decoration: none !important;
60
- }
61
- .container {
62
- position: relative;
63
- }
64
- .apollo-gif {
65
- position: absolute;
66
- top: 60%;
67
- right: 9%;
68
- transform: translateY(-50%);
69
- }
70
- .video-link {
71
- font-size: 14px;
72
- color: #CECECE;
73
- }
74
- </style>
75
- </head>
76
- <body>
77
- <div class="container" style="text-align: left; margin-top: 50px;">
78
- <h1 style="color: white; font-size: 56px;">Apollo<sup style="color: #E457E2;">AI</sup> Music Assistant <a class="video-link" href="https://www.youtube.com/watch?v=fwKukm3qjsk">Tutorial Video</a></h1>
79
- <h2 style="color: #E457E2; font-size: 26px;">Experience personalized, intelligent music interaction like never before</h2>
80
- <ul style="list-style-type: none; padding: 12px 0; margin: 0;">
81
- <li class="hover-item" style="color: #CECECE; font-size: 26px; padding: 12px 0;"><span style="color: #5491FA;">1.</span> Ensure your Spotify client is open</li>
82
- <li class="hover-item" style="color: #CECECE; font-size: 26px; padding: 12px 0;"><span style="color: #5491FA;">2.</span> Login to <a href="https://developer.spotify.com">Spotify Developer</a> website</li>
83
- <li class="hover-item" style="color: #CECECE; font-size: 26px; padding: 12px 0;"><span style="color: #5491FA;">3.</span> Go to <a href="https://developer.spotify.com/dashboard">Dashboard</a> then 'Create app'</li>
84
- <li class="hover-item" style="color: #CECECE; font-size: 26px; padding: 12px 0; margin-bottom: -12px;"><span style="color: #5491FA;">4.</span> Set Redirect URI to <a href="https://jonaswaller.com">https://jonaswaller.com</a></li>
85
- <li style="color: #969696; font-size: 20px; padding: 0; margin-top: -12px; text-indent: 55px;">The other fields can be anything</li>
86
- <li class="hover-item" style="color: #CECECE; font-size: 26px; padding: 12px 0;"><span style="color: #5491FA;">5.</span> Hit 'Save' then 'Settings'</li>
87
- <li class="hover-item" style="color: #CECECE; font-size: 26px; padding: 12px 0;"><span style="color: #5491FA;">6.</span> Copy your Spotify Client ID</li>
88
- </ul>
89
- <img src="file/apollo.gif" class="apollo-gif" width='400'>
90
- </div>
91
- </body>
92
- </html>
93
- """
94
-
95
-
96
- COMMANDS_MSG = """
97
- Welcome! Tell me your **mood** to help me select the best music for you
98
-
99
- ### <span style="color: #E457E2;"> ๐Ÿ’ฟ Standard ๐Ÿ’ฟ</span>
100
- - **Specific Song:** Play Passionfruit
101
- - **Controls:** Queue, Pause, Resume, Skip
102
- - **More Info:** Explain this song
103
- - **Album:** Play the album from Barbie
104
- - **Playlist:** Play my Shower playlist
105
-
106
- ### <span style="color: #E457E2;"> ๐Ÿ’ฟ Mood-Based ๐Ÿ’ฟ</span>
107
- - **Genre:** I'm happy, play country
108
- - **Artist:** Play Migos hype songs
109
- - **Recommendations:** I love Drake and house, recommend songs
110
- - **Create Playlist:** Make a relaxing playlist of SZA-like songs
111
- """
112
-
113
-
114
- ERROR_MSG = """
115
- Error: Unable to **connect to your Spotify** | Please ensure you followed the above steps correctly
116
-
117
- Need help? Watch this brief tutorial https://www.youtube.com/watch?v=fwKukm3qjsk&t=211s
118
- """