-
Notifications
You must be signed in to change notification settings - Fork 16.7k
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
Adds OpenAI functions powered document metadata tagger #7521
Adds OpenAI functions powered document metadata tagger #7521
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
PR Analysis
PR Feedback
How to use
|
@@ -2,9 +2,9 @@ | |||
import os | |||
import time | |||
import uuid | |||
import numpy as np |
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.
Didn't change these manually, just ran make format
.
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.
lgtm, just one nit
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.
we should probably move the stuff here to their own files. think #7379 already doing that so will wait till it lands to merge
Nice. Yes. This is good. Consolidating Like @baskaryan said, #7379 is going in soon. |
Adds a new document transformer that automatically extracts metadata for a document based on an input schema. I also moved
document_transformers.py
todocument_transformers/__init__.py
to group it with this new transformer - it didn't seem to cause issues in the notebook, but let me know if I've done something wrong there.Also had a linter issue I couldn't figure out:
@rlancemartin @baskaryan