Refactor Backend with Abstract CustomBackend using AoP (Aspect Oriented Programming) and PropertyManager [WIP]#66
Draft
snowyu wants to merge 27 commits intosemperai:masterfrom
Draft
Refactor Backend with Abstract CustomBackend using AoP (Aspect Oriented Programming) and PropertyManager [WIP]#66snowyu wants to merge 27 commits intosemperai:masterfrom
snowyu wants to merge 27 commits intosemperai:masterfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Contributor
|
Wow, this looks like a great start. Busy with christmas stuff so haven't had time to digest this yet, will review soon. |
refactor: adjust dir structure
Contributor
Author
|
@kasumi-1 I originally intended to abstract a framework for freely registering and using AI tools: https://github.com/isdk/ai-tool.js However, the project evolved significantly and ultimately transformed into Programmable Prompt Engine Language: https://github.com/offline-ai/cli Now I find myself stuck in the complexity of my own project. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refactor Backend with Abstract CustomBackend using AoP (Aspect Oriented Programming) and PropertyManager [WIP] - Not Yet Ready for Merge!
Description:
This pull request is part of our ongoing effort to refactor the backend services by introducing an abstract CustomBackend, leveraging a hierarchical factory pattern, specifically implemented using Aspect Oriented Programming (AoP) through 'custom-factory' package. I also incorporate JSONSchema definitions for UI elements management in React applications via rjsf (React JSon Schema Form). Additionally, I use the 'property-manager` library to manage and organize our back-end properties related to these services within a structured and consistent manner.
Motivation:
The refactoring is crucial due to growing complexity and difficulty managing various implementations across similar services like chatbots, text-to-speech systems, etc., within our application's backend architecture. By decoupling interface logic from concrete implementation details through the use of abstract interfaces, employing AoP techniques with 'custom-factory', and using property-manager to manage JSON Schema properties in a structured way
Implementation Status:
At present, this PR has completed initial setup work for integrating Aspect Oriented Programming (AoP) through the use of the custom factory pattern provided by 'custom-factory' package. This includes setting up abstract interfaces and factories that manage different products associated with each back-end service based on their configurations
CustomBackendWIP & Documentation:
Please note that this PR is a work in progress, meaning many sections are not yet fully working or documented. I encourage you to review the code changes carefully. If any questions arise, feel free to ask for clarification; I will do my best to provide a detailed explanation and address concerns promptly.