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

feat(llmrails): Add serialization support for LLMRails #627

Merged
merged 3 commits into from
Aug 20, 2024

Conversation

Pouyanpi
Copy link
Collaborator

@Pouyanpi Pouyanpi commented Jul 15, 2024

The changes include the addition of __getstate__ and __setstate__ and methods to the LLMRails class. These methods are used for pickling and unpickling of the class instance, allowing it to be serialized and deserialized.

It might resolve #614

The changes include the addition of  and
methods to the LLMRails class. These methods are used for pickling
and unpickling of the class instance, allowing it to be serialized
and deserialized.
@DixitAdh
Copy link

@Pouyanpi do you know when will this fix will be available in released version?

@Pouyanpi
Copy link
Collaborator Author

@DixitAdh, It may be included in the 0.10.0 release, which is expected within one or two weeks. However, this hasn’t been decided yet. I’ll keep you updated.

@Pouyanpi Pouyanpi self-assigned this Aug 16, 2024
@Pouyanpi Pouyanpi requested a review from drazvan August 16, 2024 14:41
@drazvan drazvan marked this pull request as ready for review August 20, 2024 10:49
@drazvan drazvan merged commit 9783a62 into develop Aug 20, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TypeError: cannot pickle '_thread.RLock' object
3 participants