Parse Song Draft:
The PlenioParseDraft node is designed to facilitate the creation of structured song drafts by parsing and enforcing a consistent format on the output from a writing model. This node is particularly useful for AI artists and music producers who want to extract key elements such as the title, style, lyrics, and artwork prompt from a generated text. It ensures that the song draft adheres to a specific format, which includes a one-line style description and section tags for instrumentals. The node also provides feedback on any changes or enforcements made during the parsing process, making it easier to maintain consistency and quality in song drafts.
Parse Song Draft Input Parameters:
text
This parameter represents the writing model's answer, which could be generated text or output from a local language model (LLM). It serves as the primary input for the node, providing the raw content that will be parsed into a structured song draft. The text input is crucial as it directly influences the resulting draft's content and structure. There are no specific minimum, maximum, or default values for this parameter, as it depends on the user's input.
request
The request parameter contains information about what was initially asked in the Compose Writing Prompt. It is used to verify that the generated text aligns with the original request, ensuring that the output is relevant and accurate. This parameter helps the node to cross-check the generated content against the user's expectations. Like the text parameter, there are no specific minimum, maximum, or default values for this parameter.
Parse Song Draft Output Parameters:
title
The title output provides the extracted song title from the parsed draft. It is an essential component of the song draft, giving a clear and concise representation of the song's theme or subject.
style
The style output describes the musical style or genre of the song draft. This output helps in categorizing the song and setting expectations for its musical elements.
lyrics
The lyrics output contains the parsed lyrics of the song. It is a critical part of the song draft, providing the lyrical content that will be used in the final composition.
artwork_prompt
The artwork_prompt output offers a draft for the cover image prompt, suggesting visual elements that could accompany the song. This output is valuable for creating cohesive and visually appealing artwork that complements the song's theme.
report
The report output provides a detailed account of what was parsed and enforced during the draft creation process. It includes information on any enforcements made and the status of the draft, helping users understand the changes applied to the original text.
Parse Song Draft Usage Tips:
- Ensure that the input text is as detailed and structured as possible to facilitate accurate parsing and enforcement by the node.
- Use the request parameter to provide context for the generated text, which can help the node verify and align the output with your original intentions.
Parse Song Draft Common Errors and Solutions:
"Draft parsing failed"
- Explanation: This error occurs when the node is unable to parse the input text into a structured draft due to formatting issues or missing sections.
- Solution: Review the input text to ensure it follows the expected format and includes all necessary sections such as title, style, and lyrics.
"Enforcement error: Missing [Tag] sections"
- Explanation: This error indicates that the input text lacks the required [Tag] sections for instrumentals, which are necessary for proper formatting.
- Solution: Add the appropriate [Tag] sections to the input text, especially for instrumental parts, to comply with the node's formatting requirements.
