Skip to content

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
@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