[Feature] Render a flat RowTypeInfo output schema as JSON Schema
メンテナーはふだん 2 日以内に返信
@sangkyoonnam がすでに取り組んでいます。
2026年10月16日 から。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
調査の方向性
Start at BaseChatModelConnection.chat in the Java connections, where the Javadoc describes skipping a RowTypeInfo schema, and compare the Python path that takes a pydantic model. Trace where the prompt uses the type's toString() or str() form, since that is the part to replace with a JSON Schema object. Done means a flat RowTypeInfo renders as a schema with all fields required and additionalProperties false in both languages, and the guide and Javadoc match. Nested or non-basic types must keep today's behavior.
索引モデルが issue の本文から書いたものです。
説明
Search before asking
- I searched in the issues and found nothing similar.
Description
@wenjin272 suggested this on #1129.
A RowTypeInfo output schema never gets native structured output today:
- The native connections accept only a POJO class (Java) or a pydantic model (Python), so they skip a
RowTypeInfo. - The prompt path describes the schema with the type's string form (
toString()in Java,str()in Python), not JSON Schema. - The Java
BaseChatModelConnection.chatJavadoc calls the skip a permanent fallback.
Proposal: render a flat RowTypeInfo (basic field types only) as a JSON Schema object, in both languages:
- every field required
additionalProperties: false
Use it in two steps:
- In the prompt, in place of the string form.
- As the native schema, so
AUTOandNATIVEwork for aRowTypeInfo. The connections currently take a class, so this step needs them to accept a schema document as well.
A nested or non-basic RowTypeInfo keeps today's behavior. The guide and the Javadoc above are updated to match.
Are you willing to submit a PR?
- I'm willing to submit a PR!
- 主要言語
- Java
- スター
- 497
- フォーク
- 193
- 平均マージ
- 2日 21時間
- マージ済み PR(30日)
- 68
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/flink-agents のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
apache/flink-agents#1480 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
apache/flink-agents#1476 ·
メンテナーはふだん 2 日以内に返信
-
[Bug][runtime] Trace Log loggers fail on a string trace-log.pretty-print value対応中かも @Zhuoxi2000 が 3 日前に担当しました。 オープンaffectVersion/0.4.0 bug fixVersion/0.4.1 fixVersion/1.0.0 priority/major
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
apache/flink-agents#1463 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
-
難易度 4/5 1〜2日 初心者へのやさしさ 45/100
apache/flink-agents#1482 ·
メンテナーはふだん 2 日以内に返信
-
[java][python][Azure OpenAI] Align token limit handling with max_completion_tokens対応中かも @samarthputhraya が今日担当しました。 オープンaffectVersion/0.4.0 bug priority/major
apache/flink-agents#1478 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 2 日以内に返信
apache/flink-agents の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
federicoiosue/Omni-Notes#1044 ·
-
Bug
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
Terraform releases proxy leaves a temp folder behind on every cache refresh対応中かも @dhananjay6561 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
terrakube-io/terrakube#4069 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信