[PR #36] [MERGED] use with_structured_output #72

Closed
opened 2026-02-16 05:15:17 -05:00 by yindo · 0 comments
Owner

📋 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: mainHead: cc/with_structured


📝 Commits (6)

📊 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_output to 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.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langchain-extract/pull/36 **Author:** [@ccurme](https://github.com/ccurme) **Created:** 3/18/2024 **Status:** ✅ Merged **Merged:** 3/18/2024 **Merged by:** [@ccurme](https://github.com/ccurme) **Base:** `main` ← **Head:** `cc/with_structured` --- ### 📝 Commits (6) - [`76cfc08`](https://github.com/langchain-ai/langchain-extract/commit/76cfc08d1d983b45490e1867c6287e4d79ea4e04) fix test - [`80f5737`](https://github.com/langchain-ai/langchain-extract/commit/80f573725356131058b43df37147262034d902fb) use with_structured_output - [`278351b`](https://github.com/langchain-ai/langchain-extract/commit/278351bca08d9b5d74bc52ea9ba1e60cb1c8e513) pass json schema through - [`7595d77`](https://github.com/langchain-ai/langchain-extract/commit/7595d77a5d3641271e16727ebe70e665209a8a76) remove convert_to_openai - [`fab282f`](https://github.com/langchain-ai/langchain-extract/commit/fab282f41616eeb0440e51943fee6fec059ffd9d) specify extraction method - [`23f24c8`](https://github.com/langchain-ai/langchain-extract/commit/23f24c82205fc8eb8278e3368506480092a25d47) add comment ### 📊 Changes **4 files changed** (+41 additions, -50 deletions) <details> <summary>View changed files</summary> 📝 `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) </details> ### 📄 Description Here we pass JSON schema all the way through, relying on `with_structured_output` to control extraction methodology. https://github.com/langchain-ai/langchain-extract/issues/32 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 05:15:17 -05:00
yindo closed this issue 2026-02-16 05:15:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langchain-extract#72