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

Add more extraction code #37

Merged
merged 3 commits into from
Nov 21, 2023
Merged

Add more extraction code #37

merged 3 commits into from
Nov 21, 2023

Conversation

eyurtsev
Copy link
Collaborator

Add more extraction code

@eyurtsev eyurtsev requested a review from hinthornw November 20, 2023 22:23

# PUBLIC API

def create_openai_function_based_extractor(
Copy link
Collaborator

Choose a reason for hiding this comment

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

ooc: why are these diff than LangChain?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

what are they in langchain? I just cargo culted some code?

Copy link
Collaborator

Choose a reason for hiding this comment

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

well there was create_extraction_chain but i guess we no longer use it

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

will review right now if there's a way to re-use it

@eyurtsev eyurtsev merged commit e07ac06 into main Nov 21, 2023
11 checks passed
@eyurtsev eyurtsev deleted the eugene/extraction branch November 21, 2023 14:38
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.

2 participants