Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor IIntentResponsesProvider functionality #130

Merged
merged 1 commit into from
Aug 13, 2024

Conversation

LuisM000
Copy link
Contributor

@LuisM000 LuisM000 commented Aug 13, 2024

This PR refactors and decouples part of the Bot's functionality by moving it to a new project. This allows us to use that functionality independently without bringing along the Bot's dependencies.

  • Introduced new projects: Encamina.Enmarcha.Conversation.Abstractions and Encamina.Enmarcha.Conversation.
  • Moved IIntentResponsesProvider and Response classes to Encamina.Enmarcha.Conversation.Abstractions.
  • Moved TableStorageResponseProvider class to Encamina.Enmarcha.Conversation.
  • Updated LocalizedResponseGreetingsProvider.cs to use new abstractions.

- Added projects `Encamina.Enmarcha.Conversation.Abstractions` and `Encamina.Enmarcha.Conversation`.
- Moved `IIntentResponsesProvider` and `Response` to `Encamina.Enmarcha.Conversation.Abstractions`.
- Moved `TableStorageResponseProvider` to `Encamina.Enmarcha.Conversation`.
- Updated `IServiceCollectionExtensions.cs` for new references; marked `AddBotTableStorageResponsesProvider` as obsolete.
- Adjusted `LocalizedResponseGreetingsProvider.cs` for new abstractions.
@LuisM000 LuisM000 added the enhancement New feature or request label Aug 13, 2024
@LuisM000 LuisM000 self-assigned this Aug 13, 2024
@LuisM000 LuisM000 enabled auto-merge August 13, 2024 06:50
@LuisM000 LuisM000 merged commit a7aa9ec into main Aug 13, 2024
4 checks passed
@LuisM000 LuisM000 deleted the @lmarcos/refactor_intent_responses branch August 13, 2024 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants