CustomerView Buttons

This commit is contained in:
2025-04-15 16:28:17 +02:00
parent dc6195e74d
commit b3ee248806
9 changed files with 139 additions and 25 deletions

View File

@@ -2,6 +2,7 @@
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Data.Security;
using BeWo.Service.AI;
using BeWo.Service.DCEntityMapper;
using BeWo.Service.ServiceContracts;
using BeWo.Service.ServiceProxy;
@@ -82,7 +83,7 @@ namespace BeWo.Service.ServiceImplementations
{
var current_user = UserRightHelper.GetLoggedInUserWithOid();
var system_prompt = AiSystemBuilder.CreateSystemInstructions(conversation.UIContext, conversation.ContextBeWoObjects);
var system_prompt = AiPromptFactory.CreateSystemInstructions(conversation.UIContext, conversation.ContextBeWoObjects);
var conv = new AiConversation();
conv.Created = DateTime.Now;