KBVE / kbve

KBVE Monorepo
https://kbve.com/
12 stars 12 forks source link

[MUSIC] : #2155

Closed h0lybyte closed 4 months ago

h0lybyte commented 4 months ago

Music Suggestion Form

YouTube Link: https://www.youtube.com/watch?v=ej7t5ZrfJrY Title: Fox Stevenson - Human In The Evening Genre: dnb

Hint: Only genres that are acceptable are: dnb, chillstep, lofihiphop, nujazz, electroswing, edm, rock, jrock, studybeats, anime

github-actions[bot] commented 4 months ago

[DEBUG] Processing Music Action v0.0.11

github-actions[bot] commented 4 months ago

Atlas Music Response:

{
  "id": "chatcmpl-c0df599b-0e29-4b11-9118-855ad71d9da5",
  "object": "chat.completion",
  "created": 1719189278,
  "model": "mixtral-8x7b-32768",
  "choices": [
    {
      "index": 0,
      "message": {
        "role": "assistant",
        "content": "First, let's gather the necessary information from the user input and the given YouTube link.\n\n1. Title: Human In The Evening by Fox Stevenson\n2. Genre: dnb (from user input, one of the specified genres)\n3. YouTube Link: https://www.youtube.com/watch?v=j7t5ZrfJrYN\n\nNow, we need to extract the YouTube ID from the provided link. The YouTube ID is the sequence of characters in the link following \"v=\" and before the next \"&\" or the end of the URL. In this example, the YouTube ID is \"j7t5ZrfJrYN\".\n\nFinally, let's create the JSON output for the given dataset.\n\n```json\n{\n  \"title\": \"Human In The Evening by Fox Stevenson\",\n  \"genre\": \"dnb\",\n  \"youtube_id\": \"j7t5ZrfJrYN\"\n}\n```"
      },
      "finish_reason": "stop"
    }
  ],
  "usage": {
    "prompt_tokens": 391,
    "prompt_time": 0.063107045,
    "completion_tokens": 219,
    "completion_time": 0.342199574,
    "total_tokens": 610,
    "total_time": 0.405306619
  },
  "system_fingerprint": "fp_c5f20b5bb1",
  "x_groq": {
    "id": "req_01j13tn33wegw8vk63qr9sw8k0"
  }
}
github-actions[bot] commented 4 months ago

Dear Lord Commander:

First, let's gather the necessary information from the user input and the given YouTube link.

1. Title: Human In The Evening by Fox Stevenson
2. Genre: dnb (from user input, one of the specified genres)
3. YouTube Link: https://www.youtube.com/watch?v=j7t5ZrfJrYN

Now, we need to extract the YouTube ID from the provided link. The YouTube ID is the sequence of characters in the link following "v=" and before the next "&" or the end of the URL. In this example, the YouTube ID is "j7t5ZrfJrYN".

Finally, let's create the JSON output for the given dataset.

```json
{
  "title": "Human In The Evening by Fox Stevenson",
  "genre": "dnb",
  "youtube_id": "j7t5ZrfJrYN"
}

Extracted Song Information:
```json
{
  "title": "Human In The Evening by Fox Stevenson",
  "genre": "dnb",
  "youtube_id": "j7t5ZrfJrYN"
}