Skip to content

Conversation

eugeis
Copy link

@eugeis eugeis commented Aug 7, 2025

What type of PR is this?

feat: Add JQ Document Transformer component

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Attach the PR updating the user documentation if the current PR requires user awareness at the usage level. See README.md

(Optional) More detailed description for this PR(en: English).

en: This PR adds a new document transformer component that leverages gojq (Go implementation of jq) to manipulate and transform documents in powerful ways. The transformer supports:

  1. Individual document transformations using jq expressions
  2. Join aggregation to combine multiple source documents into target documents
  3. Hierarchical aggregation to build documents based on hierarchical levels
  4. Custom function transforms to apply registered Go functions to documents

This component provides a flexible way to transform document content and metadata with the familiar jq syntax, making it easy to implement complex document processing pipelines in Eino.

@eugeis
Copy link
Author

eugeis commented Aug 15, 2025

Hello,
do I need to change something that the PR can be merged?

@mrh997
Copy link
Contributor

mrh997 commented Aug 19, 2025

@eugeis Thank you for your PR. We will review it as soon as possible.

@eugeis eugeis closed this Sep 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants