-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moment42 - Refactor and improve architecture, fix bugs, and resolve s…
…tatic code analysis warnings
- Loading branch information
Showing
72 changed files
with
196 additions
and
243 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
12 changes: 0 additions & 12 deletions
12
application/calendar-assistant/Api/appsettings.development.json
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
6 changes: 3 additions & 3 deletions
6
application/calendar-assistant/Core/AI/Actions/CancelEvent/CancelEventAction.cs
This file contains 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
2 changes: 1 addition & 1 deletion
2
application/calendar-assistant/Core/AI/Actions/CancelEvent/CancelEventParameters.cs
This file contains 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
10 changes: 5 additions & 5 deletions
10
application/calendar-assistant/Core/AI/Actions/CreateEvent/CreateEventAction.cs
This file contains 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
2 changes: 1 addition & 1 deletion
2
application/calendar-assistant/Core/AI/Actions/CreateEvent/CreateEventParameters.cs
This file contains 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
4 changes: 2 additions & 2 deletions
4
...ation/calendar-assistant/Core/AI/Actions/GetCalendarSchedule/GetCalendarScheduleAction.cs
This file contains 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
2 changes: 1 addition & 1 deletion
2
...n/calendar-assistant/Core/AI/Actions/GetCalendarSchedule/GetCalendarScheduleParameters.cs
This file contains 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
6 changes: 3 additions & 3 deletions
6
application/calendar-assistant/Core/AI/Actions/RescheduleEvent/RescheduleEventAction.cs
This file contains 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
2 changes: 1 addition & 1 deletion
2
application/calendar-assistant/Core/AI/Actions/RescheduleEvent/RescheduleEventParameters.cs
This file contains 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
4 changes: 2 additions & 2 deletions
4
application/calendar-assistant/Core/AI/Contracts/AIGptResponse.cs
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
using Moment42.CalendarAssistant.Core.AI.Planner; | ||
using Moment42.CalendarAssistant.AI.Planner; | ||
|
||
namespace Moment42.CalendarAssistant.Core.AI.Contracts; | ||
namespace Moment42.CalendarAssistant.AI.Contracts; | ||
|
||
public sealed record AIGptResponse(PlannedAction[]? PlannedActions, PlannedAction[]? PossibleActions, PlannerThoughts? Thoughts); |
2 changes: 1 addition & 1 deletion
2
application/calendar-assistant/Core/AI/Contracts/PlannedAction.cs
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
using System.Text.Json; | ||
|
||
namespace Moment42.CalendarAssistant.Core.AI.Contracts; | ||
namespace Moment42.CalendarAssistant.AI.Contracts; | ||
|
||
public sealed record PlannedAction(string UniqueId, string Name, Dictionary<string, JsonElement> Parameters); |
2 changes: 1 addition & 1 deletion
2
application/calendar-assistant/Core/AI/Gpt/AzureOpenAIConfiguration.cs
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
18 changes: 9 additions & 9 deletions
18
application/calendar-assistant/Core/AI/Planner/ActionPlanner.cs
This file contains 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
This file contains 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
2 changes: 1 addition & 1 deletion
2
application/calendar-assistant/Core/AI/Planner/PlannerThoughts.cs
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
namespace Moment42.CalendarAssistant.Core.AI.Planner; | ||
namespace Moment42.CalendarAssistant.AI.Planner; | ||
|
||
public sealed record PlannerThoughts(string Thought, string Reasoning); |
2 changes: 1 addition & 1 deletion
2
application/calendar-assistant/Core/Authentication/AuthenticationConfiguration.cs
This file contains 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
2 changes: 1 addition & 1 deletion
2
application/calendar-assistant/Core/Authentication/OAuthProviders.cs
This file contains 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
This file contains 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
2 changes: 1 addition & 1 deletion
2
application/calendar-assistant/Core/Conversations/AdaptiveCards/AdaptiveCardProvider.cs
This file contains 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
4 changes: 2 additions & 2 deletions
4
.../calendar-assistant/Core/Conversations/AdaptiveCards/Contracts/CreateEventConfirmation.cs
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
using Moment42.CalendarAssistant.Core.AI.Actions.CreateEvent; | ||
using Moment42.CalendarAssistant.AI.Actions.CreateEvent; | ||
|
||
namespace Moment42.CalendarAssistant.Core.Conversations.AdaptiveCards.Contracts; | ||
namespace Moment42.CalendarAssistant.Conversations.AdaptiveCards.Contracts; | ||
|
||
internal record CreateEventConfirmation(string EventId, CreateEventParameters CreateEventParameters, string Time, bool HasAttendees); |
2 changes: 1 addition & 1 deletion
2
...cation/calendar-assistant/Core/Conversations/AdaptiveCards/Contracts/CreateEventResult.cs
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
namespace Moment42.CalendarAssistant.Core.Conversations.AdaptiveCards.Contracts; | ||
namespace Moment42.CalendarAssistant.Conversations.AdaptiveCards.Contracts; | ||
|
||
internal record CreateEventResult(string Title, string Time, string? Location, string Url); |
2 changes: 1 addition & 1 deletion
2
application/calendar-assistant/Core/Conversations/AdaptiveCards/Contracts/WelcomeMessage.cs
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
namespace Moment42.CalendarAssistant.Core.Conversations.AdaptiveCards.Contracts; | ||
namespace Moment42.CalendarAssistant.Conversations.AdaptiveCards.Contracts; | ||
|
||
internal record WelcomeMessage(string Title, string Message); |
2 changes: 1 addition & 1 deletion
2
application/calendar-assistant/Core/Conversations/Application/AdaptiveCardActionRoute.cs
This file contains 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
6 changes: 3 additions & 3 deletions
6
application/calendar-assistant/Core/Conversations/Application/ConversationApplication.cs
This file contains 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
Oops, something went wrong.