Skip to content
Merged

Dev #2162

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
d695998
AB#32012 move AI files into concern folders
jacobwillsmith Mar 18, 2026
1a48664
AB#32012 rename AI runtime and operation files
jacobwillsmith Mar 18, 2026
44891b4
AB#32012 extract attachment AI orchestration and align runtime types
jacobwillsmith Mar 18, 2026
7a0401f
AB#32012 align AI action gating across review surfaces
jacobwillsmith Mar 18, 2026
3dda503
AB#32012 detach AI generation into background jobs
jacobwillsmith Mar 18, 2026
926dfa0
AB#32012 restore attachment AI controls
jacobwillsmith Mar 18, 2026
d864f97
AB#32012 clarify queued AI action messaging
jacobwillsmith Mar 18, 2026
c4cd544
AB#32012 remove AI prompt capture pipeline
jacobwillsmith Mar 19, 2026
2fa8376
AB#32012 add AI content orchestration endpoint
jacobwillsmith Mar 19, 2026
d4b1877
AB#32012 show persisted AI outputs in dev panel
jacobwillsmith Mar 19, 2026
0720d9d
AB#32012 rename AI operation files for standardized naming
jacobwillsmith Mar 19, 2026
ff30f9b
AB#32012 align AI backend naming with standardized operations
jacobwillsmith Mar 19, 2026
30a09b9
AB#32012 align AI action naming across web surfaces
jacobwillsmith Mar 19, 2026
36e7ca6
AB#32012 refine AI dev panel outputs
jacobwillsmith Mar 19, 2026
bd0f646
AB#32012 fix AI orchestration follow-up issues
jacobwillsmith Mar 19, 2026
f6695ca
AB#32012 align AI app service and DTO naming
jacobwillsmith Mar 20, 2026
1d5f5d7
AB#32012 align AI namespaces to folder structure
jacobwillsmith Mar 20, 2026
4aea07b
AB#32012 clean branch whitespace in AI changes
jacobwillsmith Mar 20, 2026
0bf8e9b
AB#32012 restore attachment app service formatting
jacobwillsmith Mar 20, 2026
72fd3f7
AB#32012 improve AI background job failure handling
jacobwillsmith Mar 20, 2026
6ac63e4
AB#32012 move AI contract files into concern folders
jacobwillsmith Mar 20, 2026
fdd2ae0
AB#32012 align moved AI contract namespaces and imports
jacobwillsmith Mar 20, 2026
3094d8e
AB#32012 restore working AI application DTO contract
jacobwillsmith Mar 21, 2026
754c0fd
Merge branch 'dev' into feature/AB#32012-RefactorAIFlowOrchestration
jacobwillsmith Mar 24, 2026
3e2d4aa
AB#32012 clean AI review list UI and test follow-ups
jacobwillsmith Mar 24, 2026
ab11cff
AB#32012 address AI sonar follow-ups and test feature toggles
jacobwillsmith Mar 24, 2026
de79d7a
AB#32012 remove unused chefs attachment variable
jacobwillsmith Mar 24, 2026
21b9845
AB#32012 update development AI config template
jacobwillsmith Mar 24, 2026
8d539f4
AB#31470 radio button fixes for reporting
AndreGAot Mar 25, 2026
d6a5226
AB#32012 clean remaining AI sonar helpers
jacobwillsmith Mar 25, 2026
4379b2d
AB#32449 Remove secret like text from cypress README.md file
DarylTodosichuk Mar 25, 2026
81a6815
Merge pull request #2161 from bcgov/bugfix/AB#32449-github-detected-s…
DarylTodosichuk Mar 25, 2026
40ac9f6
Merge pull request #2159 from bcgov/feature/AB#32012-RefactorAIFlowOr…
jacobwillsmith Mar 25, 2026
32a0abb
Merge pull request #2160 from bcgov/bugfix/AB#31470-radio-btns-reporting
JamesPasta Mar 25, 2026
3c2da53
AB#32012 remove misleading AI dev output version label
jacobwillsmith Mar 25, 2026
4043af2
Merge pull request #2163 from bcgov/feature/AB#32012-RefactorAIFlowOr…
JamesPasta Mar 25, 2026
b080f86
AB#27730: Worksheet Deletion
aurelio-aot Mar 25, 2026
bb5efb1
feature/AB#32437-EditPrompts
JamesPasta Mar 25, 2026
b0af473
Merge branch 'dev' into feature/AB#32437-AIToDb
JamesPasta Mar 25, 2026
34822d9
AB#27730: Fix sonarqube issues
aurelio-aot Mar 25, 2026
939edc0
AB#27730: Fix sonarqube issue
aurelio-aot Mar 25, 2026
ede755b
Merge pull request #2166 from bcgov/feature/AB#32437-AIToDb
JamesPasta Mar 25, 2026
f3f78c9
feature/AB#32437-EditPrompts-Fixusing
JamesPasta Mar 25, 2026
ea4df76
Merge pull request #2167 from bcgov/feature/AB#32437-AIToDb
JamesPasta Mar 25, 2026
d85d6c0
Merge pull request #2165 from bcgov/feature/AB#27730-Worksheet-Deletion
JamesPasta Mar 25, 2026
858b034
AB#32012 fix review list AI scoring button gating
jacobwillsmith Mar 25, 2026
2326170
Merge pull request #2168 from bcgov/feature/AB#32012-RefactorAIFlowOr…
jacobwillsmith Mar 25, 2026
80e2f39
feature/AB#32437-EditPrompts-FixDBMigration
JamesPasta Mar 25, 2026
6861f60
Merge pull request #2169 from bcgov/feature/AB#32437-AIToDb
JamesPasta Mar 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion applications/Unity.AutoUI/cypress/scripts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Add or update the token in `cypress.env.json`:

```json
{
"CHEFS_AUTH_TOKEN": "Bearer eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9..."
"CHEFS_AUTH_TOKEN": "Bearer *..."
}
```

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using Volo.Abp.Application.Dtos;

namespace Unity.AI.Prompts;

public class AIPromptDto : AuditedEntityDto<Guid>
{
public string Name { get; set; } = string.Empty;
public string? Description { get; set; }
public PromptType Type { get; set; }
public bool IsActive { get; set; }
public List<AIPromptVersionDto> Versions { get; set; } = new();
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
using System;
using Volo.Abp.Application.Dtos;

namespace Unity.AI.Prompts;

public class AIPromptVersionDto : AuditedEntityDto<Guid>
{
public Guid PromptId { get; set; }
public int VersionNumber { get; set; }
public string SystemPrompt { get; set; } = string.Empty;
public string UserPromptTemplate { get; set; } = string.Empty;
public string? DeveloperNotes { get; set; }
public string? TargetModel { get; set; }
public string? TargetProvider { get; set; }
public double Temperature { get; set; }
public int? MaxTokens { get; set; }
public bool IsPublished { get; set; }
public bool IsDeprecated { get; set; }
public string? MetadataJson { get; set; }
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace Unity.AI.Prompts;

public class CreateUpdateAIPromptDto
{
[Required]
[MaxLength(200)]
[DisplayName("PromptName")]
public string Name { get; set; } = string.Empty;

[MaxLength(2000)]
[DisplayName("PromptDescription")]
public string? Description { get; set; }

[DisplayName("PromptType")]
public PromptType Type { get; set; }

[DisplayName("PromptIsActive")]
public bool IsActive { get; set; } = true;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
using System;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace Unity.AI.Prompts;

public class CreateUpdateAIPromptVersionDto
{
public Guid PromptId { get; set; }

[DisplayName("VersionNumber")]
public int VersionNumber { get; set; }

[Required]
[DisplayName("SystemPrompt")]
public string SystemPrompt { get; set; } = string.Empty;

[Required]
[DisplayName("UserPromptTemplate")]
public string UserPromptTemplate { get; set; } = string.Empty;

[DisplayName("DeveloperNotes")]
public string? DeveloperNotes { get; set; }

[MaxLength(100)]
[DisplayName("TargetModel")]
public string? TargetModel { get; set; }

[MaxLength(100)]
[DisplayName("TargetProvider")]
public string? TargetProvider { get; set; }

[DisplayName("Temperature")]
public double Temperature { get; set; } = 0.2;

[DisplayName("MaxTokens")]
public int? MaxTokens { get; set; }

[DisplayName("IsPublished")]
public bool IsPublished { get; set; }

[DisplayName("IsDeprecated")]
public bool IsDeprecated { get; set; }

[DisplayName("MetadataJson")]
public string? MetadataJson { get; set; }
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
using System;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace Unity.AI.Prompts;

public interface IAIPromptAppService : ICrudAppService<
AIPromptDto,
Guid,
PagedAndSortedResultRequestDto,
CreateUpdateAIPromptDto>
{
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
using System;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace Unity.AI.Prompts;

public interface IAIPromptVersionAppService : ICrudAppService<
AIPromptVersionDto,
Guid,
PagedAndSortedResultRequestDto,
CreateUpdateAIPromptVersionDto>
{
System.Threading.Tasks.Task<ListResultDto<AIPromptVersionDto>> GetByPromptAsync(Guid promptId);
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
using AutoMapper;
using Unity.AI.Domain;
using Unity.AI.Prompts;

namespace Unity.AI;

public class AIApplicationAutoMapperProfile : Profile
{
public AIApplicationAutoMapperProfile()
{
// Define AutoMapper mappings here as entities and DTOs are introduced
CreateMap<AIPrompt, AIPromptDto>();
CreateMap<CreateUpdateAIPromptDto, AIPrompt>(MemberList.None);

CreateMap<AIPromptVersion, AIPromptVersionDto>();
CreateMap<CreateUpdateAIPromptVersionDto, AIPromptVersion>(MemberList.None);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,7 @@ public override void ConfigureServices(ServiceConfigurationContext context)
{
options.ConventionalControllers.Create(typeof(AIApplicationModule).Assembly);
});

context.Services.AddAssemblyOf<AIApplicationModule>();
}
}
Loading
Loading