Skip to content

Commit

Permalink
AI: Added some space for imge placeholder containers
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-Herzog committed Nov 8, 2024
1 parent f7d1013 commit c75b619
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Smartstore.Core/Migrations/SmartDbContextDataSeeder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -594,9 +594,9 @@ private static void AddAIResources(LocaleResourcesBuilder builder)
" Der Titel erhält ein {1}-Tag." +
" Verlinke die einzelnen Punkte des Inhaltsverzeichnisses mit den jeweiligen Überschriften der Absätze.");
builder.AddOrUpdate("Smartstore.AI.Prompts.IncludeImages",
"After each paragraph, add another div-tag, which contains an i-tag with the CSS classes 'far fa-xl fa-file-image ai-preview-file'." +
"After each paragraph, add another div-tag with the CSS class 'mb-3', which contains an i-tag with the CSS classes 'far fa-xl fa-file-image ai-preview-file'." +
" The title attribute of the i-tag should be the heading of the respective paragraph.",
"Füge nach jedem Absatz ein weiteres div-Tag ein, das ein i-Tag mit den CSS-Klassen 'far fa-xl fa-file-image ai-preview-file' enthält." +
"Füge nach jedem Absatz ein weiteres div-Tag mit der CSS-Klasse 'mb-3' ein, das ein i-Tag mit den CSS-Klassen 'far fa-xl fa-file-image ai-preview-file' enthält." +
" Das title-Attribut des i-Tags soll die Überschrift des jeweiligen Absatzes sein.");
builder.AddOrUpdate("Smartstore.AI.Prompts.NoIntroImage",
"The intro does not receive a picture.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public virtual string KeywordsToAvoid(string keywordsToAvoid)
/// <summary>
/// Instruction to include image placeholders in the text.
/// </summary>
/// <returns>AI instruction: After each paragraph, add another div-tag,
/// <returns>AI instruction: After each paragraph, add another div-tag with the CSS class 'mb-3',
/// which contains an i-tag with the classes 'far fa-xl fa-file-image ai-preview-file'.
/// The title attribute of the i-tag should be the heading of the respective paragraph.</returns>
public virtual string IncludeImages()
Expand Down

0 comments on commit c75b619

Please sign in to comment.