Open
Conversation
mas-iota
requested changes
Jul 18, 2023
src/control/content/index.html
Outdated
| var showAISeeder = function() { | ||
| let seeder = new buildfire.components.aiStateSeeder({ | ||
| generateOptions: { | ||
| userMessage: 'Write a blog post for me about the [topic]', |
src/control/content/index.html
Outdated
| let seeder = new buildfire.components.aiStateSeeder({ | ||
| generateOptions: { | ||
| userMessage: 'Write a blog post for me about the [topic]', | ||
| systemMessage: 'Blog post is an HTML string that can be inserted into a div tag, utilize images, figures, statistics. Use dummyimages.com to generate image URLs.', |
Contributor
There was a problem hiding this comment.
content-length should be specified
Contributor
There was a problem hiding this comment.
Use unsplash images for the carousel
src/control/content/index.html
Outdated
| sampleCsv: `https://source.unsplash.com/featured/?music, <h1>The Magic of Music</h1><div class="image"><img src="https://source.unsplash.com/featured/?music" alt="Music Image"></div><p>Music is a universal language that touches the hearts and souls of people all around the world. It has the power to evoke emotions, bring back memories, and create a sense of connection among individuals. Whether you're listening to your favorite tunes, playing an instrument, or attending a live concert, music has a way of transporting you to a different world.</p><p>Music can be found in various genres, each with its own unique style and characteristics. From classical masterpieces to upbeat pop songs, from soulful jazz melodies to energetic rock anthems, there's something for everyone's taste. It's incredible how a simple arrangement of notes and lyrics can stir up feelings of joy, sadness, excitement, or nostalgia.</p><p>Moreover, music has the ability to bring people together. It serves as a common ground where individuals from different cultures and backgrounds can find commonality and share their love for melodies and rhythms. Whether you're jamming with friends, joining a choir, or attending a music festival, music fosters a sense of community and unity.</p><p>So, let the power of music surround you. Explore new artists, discover different genres, and let the melodies guide your emotions. Whether you're seeking solace, motivation, or simply a form of entertainment, music will always be there to accompany you on your journey.</p>`, | ||
| systemMessage: `For blog post images use dummyimages.com. For carousel images, generate small array of image urls based on topic, use source.unsplash.com for image URLs.`, | ||
| } | ||
| }).smartShowEmptyState({ selector: this.selector, }, (err, result) => { |
src/control/content/index.html
Outdated
| systemMessage: `For blog post images use dummyimages.com. For carousel images, generate small array of image urls based on topic, use source.unsplash.com for image URLs.`, | ||
| } | ||
| }).smartShowEmptyState({ selector: this.selector, }, (err, result) => { | ||
| if (!result) |
Contributor
There was a problem hiding this comment.
Errors are handled by the component
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://buildfire.atlassian.net/browse/APP2-5034