⟹ The Weel of the blackbull battles
⟹ Best use of AI
⟹ The “Smart User Carousel" is a hero carousel that use Leonardo AI to get images based on a pront, the idea of the component is get images easaly using AI and saved directly in the media library for getting them then.
https://www.youtube.com/watch?v=yXFPUXkHuS8
-Sitecore Management Services 5.2.113 https://dev.sitecore.net/Downloads/Sitecore_CLI/5x/Sitecore_CLI_52113.aspx
-Install Sitecore 10.3.1 standalone
-using the PS Script set the following in these variables:
-- $Prefix = "wbb-hackaton"
-- $SitecoreSiteName = "$prefix.local"
-- $XConnectSiteName = "$prefix.xconnect"
-make sure your domain is like this one: https://wbb-hackaton.local/
-clone the main branch in a folder
-open the solution
-build the solution and restore the nuget packages
-using the Website project, deploy the project to the sitecore instance using the publishin process
-Open a PS Terminal in the root of the solution
-execute the following commands -- dotnet tool restore
-- dotnet sitecore init
-- dotnet sitecore plugin init
-- dotnet sitecore login --authority https://wbb-hackaton.identityserver/ --cm https://wbb-hackaton.local/ --allow-write true
--- do the login process and close the window
-- dotnet sitecore ser push
install the following package in the sc instance
Smart Carousel Items.zip
--in in the folder .\scPackages\Smart Carousel Items.zip
-publish all website
⟹ If there are any custom configuration that has to be set manually then remember to add all details here.
Remove this subsection if your entry does not require any configuration that is not fully covered in the installation instructions already
The “Smart User Carousel” component requires a data source to generate the carousel images automatically. The data source has information like the prompt and the number of images to generate. To create a new generation data source you need to create an item using the “Hero Carousel AI” template. In the following example we are going to generate 4 images for our carousel.
- Create a new “Hero Carousel AI” item. In the next example the item is going to be created in the Data directory and its purpose is to generate a carousel for a music store page.
- Set the values for generating the images. The prompt should describe what kind of images you want to generate. The height and width properties must be multiples of 8. The image creative model is going to define the model that Leonardo.ia is going to use for generating the images (refer to Leonardo Ai Finetuned Models - Leonardo.Ai for more information).
- Insert the “Smart Carousel” rendering using the data source item created on the previous step to generate the group of images.
- Navigate to the page, the images are going to be automatically generated.
- Select the images that you want to preserve for the final carousel and click save.
- The images are going to be created on your media library as well as the data source item that can be used on the final render.
- Insert the “User Smart Carousel” using the data source generated on the previous step.
- The carousel will display the generated images.
If you'd like to make additional comments that is important for your module entry.