8000 Transformer crud and documentation by shabani1 · Pull Request #35 · lexy-ai/lexy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Transformer crud and documentation #35

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

Merged
merged 4 commits into from
Dec 5, 2023
Merged

Transformer crud and documentation #35

merged 4 commits into from
Dec 5, 2023

Conversation

shabani1
Copy link
Contributor
@shabani1 shabani1 commented Dec 5, 2023

What

This PR includes documentation for the process of creating a new custom transformer. Much of the implementation is still left for the user to customize, with examples shown in the docs.

This PR will also require you to rebuild docker containers. Postgres port has also been changed to 5432, so make sure to update any existing connections to Postgres DB.

Some other updates include:

  • Celery tasks can now be created without being loaded on the Lexy server.
  • Support for passing documents to transformers that require use of document metadata.
  • Various convenience methods and model improvements.

Why

Because the people want to run custom code.

Test plan

  • Go through the "Custom Transformers" section of the tutorial in the documentation.
  • Run pytest sdk-python in the console

@shabani1 shabani1 merged commit 06ff6ac into main Dec 5, 2023
@shabani1 shabani1 deleted the rs/transformer-crud branch December 5, 2023 23:25
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.

1 participant
0