mirror of
https://github.com/langchain-ai/langchain-extract.git
synced 2026-07-01 20:24:03 -04:00
[PR #36] [MERGED] use with_structured_output #72
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langchain-ai/langchain-extract/pull/36
Author: @ccurme
Created: 3/18/2024
Status: ✅ Merged
Merged: 3/18/2024
Merged by: @ccurme
Base:
main← Head:cc/with_structured📝 Commits (6)
76cfc08fix test80f5737use with_structured_output278351bpass json schema through7595d77remove convert_to_openaifab282fspecify extraction method23f24c8add comment📊 Changes
4 files changed (+41 additions, -50 deletions)
View changed files
📝
backend/extraction/utils.py(+5 -10)📝
backend/server/extraction_runnable.py(+7 -10)📝
backend/tests/integration_tests/test_extraction.py(+1 -1)📝
backend/tests/unit_tests/test_utils.py(+28 -29)📄 Description
Here we pass JSON schema all the way through, relying on
with_structured_outputto control extraction methodology.https://github.com/langchain-ai/langchain-extract/issues/32
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.