Skip to content

1.2.0

Compare
Choose a tag to compare
@oldmanpushcart oldmanpushcart released this 19 Mar 13:58
· 160 commits to main since this release

重要更新:支持函数调用

灵积在2024-03-12放出了函数调用功能,当前支持的模型是大语言模型qwen-turboqwen-plusqwen-maxqwen-max-longcontext
DashScope4j1.2.0版本开始作为Java版SDK首发支持函数调用的功能。

函数调用是我实际开发中最喜欢的一个功能,它扩展了大模型的能力边界,让AI具备了操纵现实的能力。而之前要做到这些事情我得通过langchain来实现。

添加依赖

<dependency>
    <groupId>io.github.oldmanpushcart</groupId>
    <artifactId>dashscope4j</artifactId>
    <version>1.2.0</version>
</dependency>