Skip to content

Conversation

@GreatEugenius
Copy link
Collaborator

@GreatEugenius GreatEugenius commented Dec 4, 2025

Linked issue: #354

Purpose of change

Support the use of the Java ChatModel in Python Flink Agent jobs.

Tests

Unit tests and end-to-end test

API

no

Documentation

  • doc-needed
  • doc-not-needed

@github-actions github-actions bot added priority/major Default priority of the PR or issue. fixVersion/0.2.0 The feature or bug should be implemented/fixed in the 0.2.0 version. doc-needed Your PR changes impact docs. labels Dec 4, 2025
@GreatEugenius
Copy link
Collaborator Author

Hi, @Sxnan and @wenjin272. Could you please review this PR? Thank you!

@GreatEugenius GreatEugenius changed the title [Feature][runtime] Support the use of Python ChatModel in Java [Feature][runtime] Support the use of Java ChatModel in Python Dec 4, 2025
@GreatEugenius GreatEugenius force-pushed the java-chatmodel-in-python branch 2 times, most recently from b0bdc21 to 2595858 Compare December 8, 2025 23:32
Copy link
Collaborator

@wenjin272 wenjin272 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, @GreatEugenius, thanks for your work. Overall looks good to me.

A major comment is could we unify the representation of ResourceProvider in both Python and Java to reduce the complexity for its serialization and deserialization.

@GreatEugenius GreatEugenius force-pushed the java-chatmodel-in-python branch from 2595858 to aa950bd Compare December 15, 2025 07:36
@GreatEugenius
Copy link
Collaborator Author

Hi @wenjin272, I have addressed all the comments and supported ResourceDescriptor serialization and deserialization. Please take a look.

Copy link
Collaborator

@wenjin272 wenjin272 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@GreatEugenius GreatEugenius force-pushed the java-chatmodel-in-python branch 2 times, most recently from 65b7451 to b41aa17 Compare December 16, 2025 08:44
@GreatEugenius
Copy link
Collaborator Author

Hi @xintongsong, please take a look at your convenience.

@GreatEugenius GreatEugenius force-pushed the java-chatmodel-in-python branch from b41aa17 to bcf14ff Compare December 17, 2025 03:45
@GreatEugenius
Copy link
Collaborator Author

Hi @xintongsong, I have addressed all the comments. Please take a look.

@GreatEugenius GreatEugenius force-pushed the java-chatmodel-in-python branch 2 times, most recently from 41bba58 to 4a214a0 Compare December 17, 2025 11:12
@GreatEugenius GreatEugenius force-pushed the java-chatmodel-in-python branch from 4a214a0 to 1a848b5 Compare December 17, 2025 11:25
@xintongsong xintongsong merged commit 1ac8583 into apache:main Dec 17, 2025
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc-needed Your PR changes impact docs. fixVersion/0.2.0 The feature or bug should be implemented/fixed in the 0.2.0 version. priority/major Default priority of the PR or issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants