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

feat(Information Extractor Node): Add new simplified AI-node for information extraction #10149

Merged
merged 16 commits into from
Jul 25, 2024

Conversation

burivuhster
Copy link
Contributor

Summary

This PR adds a new node specifically tailored for information extraction tasks. It uses Structured Output Parser under the hood, but provides a simpler way to extract information from text in a structured JSON form.

Users can specify what kind of attributes to extract (name, type and description). From this attribute definitions a zod schema is generated and then used to instruct a LLM about the desired format.

Related Linear tickets, Github issues, and Community forum posts

https://linear.app/n8n/issue/AI-223/information-extraction-node

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

@n8n-assistant n8n-assistant bot added the n8n team Authored by the n8n team label Jul 22, 2024
@burivuhster burivuhster changed the title feat(Information Extraction Node): Add new simplified AI-node for information extraction feat(Information Extractor Node): Add new simplified AI-node for information extraction Jul 23, 2024
@burivuhster burivuhster marked this pull request as ready for review July 23, 2024 12:14
jeanpaul
jeanpaul previously approved these changes Jul 25, 2024
Copy link

cypress bot commented Jul 25, 2024

Passing run #6138 ↗︎

0 387 0 0 Flakiness 0

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 burivuhster 🗃️ e2e/*
Project: n8n Commit: 7fc2925ef9
Status: Passed Duration: 04:11 💡
Started: Jul 25, 2024 12:36 PM Ended: Jul 25, 2024 12:40 PM

Review all test suite changes for PR #10149 ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

Copy link
Contributor

✅ All Cypress E2E specs passed

@burivuhster burivuhster merged commit 3d235b0 into master Jul 25, 2024
31 checks passed
@burivuhster burivuhster deleted the ai-223-information-extraction-node branch July 25, 2024 12:47
cstuncsik pushed a commit that referenced this pull request Jul 31, 2024
@github-actions github-actions bot mentioned this pull request Jul 31, 2024
@janober
Copy link
Member

janober commented Jul 31, 2024

Got released with n8n@1.53.0

cstuncsik pushed a commit that referenced this pull request Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants