alibaba / spring-ai-alibaba

An Application Framework for Java Developers
https://sca.aliyun.com/ai
Apache License 2.0
460 stars 131 forks source link

feat: add LLMNodeAction #107

Closed robocanic closed 4 days ago

robocanic commented 4 days ago

Describe what this PR does / why we need it

Add LLMNodeAction which is using LLM with chat history messages.

Does this pull request fix one issue?

Describe how you did it

Describe how to verify it

TBD, there are some serialization problems yet.

Special notes for reviews

The messages defined in Spring cannot be serialized in Graph.

CLAassistant commented 4 days ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
4 out of 5 committers have signed the CLA.

:white_check_mark: chickenlj
:white_check_mark: kevinlin09
:white_check_mark: yuluo-yx
:white_check_mark: Cirilla-zmh
:x: chencai


chencai seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.