Skip to content

ENG-1551 ai xplain sdk caching onboarded models pipelines and agents #389

New issue

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

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

Already on GitHub? # to your account

Conversation

xainaz
Copy link
Collaborator

@xainaz xainaz commented Feb 5, 2025

Also added file lock, global expiry time in seconds is configurable as an environmental variable.

Copy link
Member

@ahmetgunduz ahmetgunduz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xainaz Thanks for the PR!

I have a main issue with the current iplementation. We have separate cache methods for models, pipelines and agents. This will make very hard for us to make any change in future. Having all into one class named AixplainCache object that has more modular desigh such that the utils methods and all repetitive methods for different asset types should be part of this class.

Can you please redesign your codebase if this make sense to you. Otherwise we can discuss to find a way to make it more modular .

Copy link
Member

@ahmetgunduz ahmetgunduz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@xainaz Can you please add functional test for it? i approved the rest.

@thiago-aixplain thiago-aixplain changed the title Eng 1551 ai xplain sdk caching onboarded models pipelines and agents ENG-1551 ai xplain sdk caching onboarded models pipelines and agents Mar 18, 2025
@xainaz xainaz requested a review from kadirpekel April 3, 2025 09:46
@xainaz xainaz requested a review from kadirpekel April 21, 2025 08:21
@xainaz xainaz requested a review from kadirpekel April 27, 2025 11:39
@xainaz xainaz merged commit 87d5791 into development May 12, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants