-
Notifications
You must be signed in to change notification settings - Fork 751
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
remove abstract decorator from initialize in BaseEmbeddingEncoder #3730
base: main
Are you sure you want to change the base?
remove abstract decorator from initialize in BaseEmbeddingEncoder #3730
Conversation
@@ -15,7 +15,6 @@ class EmbeddingConfig(BaseModel): | |||
class BaseEmbeddingEncoder(ABC): | |||
config: EmbeddingConfig | |||
|
|||
@abstractmethod |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Matches the implementation of BaseEmbeddingEncoder
in unstructured_ingest
: https://github.com/Unstructured-IO/unstructured-ingest/blob/main/unstructured_ingest/embed/interfaces.py#L16
58c50b4
to
d8cad90
Compare
d8cad90
to
deb4c4e
Compare
@MKhalusova, can you help me get this reviewed?... please 🙏🏻🙏🏻🙏🏻. The DataChain unstructured examples (here and here) are currently stuck on an older version of Unstructured because of #3731 and this change should close that issue. |
@cragwolfe would this 👇🏻 be the correct format for the changelog entry? 0.16.5-dev0EnhancementsFeaturesFixes
|
@scanny Cam you please take a look? |
@rbiseck3 Hi Roman, can you take a look at this one-liner? I think you were closer to the choices on this one. I'm not sure whether this is the right fix or whether |
deb4c4e
to
2acaa3b
Compare
Closes #3731. Please see the issue for details.
Comments inline.