标签

 spring 

相关的文章:

了解Spring生态系统的最新里程碑发布和教程,包括Spring Modulith、Spring Batch、Spring Framework、Spring Integration、Spring for Apache Pulsar等。

Spring AI with Ollama Tool Support

原文英文,约900词,阅读约需3分钟。发表于:

Earlier this week, Ollama introduced an exciting new feature: tool support for Large Language Models (LLMs). Today, we're thrilled to announce that Spring AI (1.0.0-SNAPSHOT) has fully embraced...

Ollama introduced tool support for Large Language Models (LLMs), and Spring AI has integrated this feature into the Spring ecosystem. Spring AI's Ollama Function Calling Support allows Java developers to easily leverage this functionality in their applications. The key features include easy integration, flexible configuration, automatic JSON schema generation, support for multiple functions, and runtime function selection. To use Ollama function calling with Spring AI, you need to run Ollama on your local machine and add the necessary dependencies. An example is provided to demonstrate how to use Ollama function calling with Spring AI. The integration is OpenAI compatible, and limitations include no support for streaming tool calls or tool choice. Spring AI's Ollama Function Calling offers benefits such as extending AI capabilities, seamless integration, type-safe development, and reduced boilerplate.

Spring AI with Ollama Tool Support
相关推荐 去reddit讨论

This Week in Spring - July 23rd, 2024

原文英文,约100词,阅读约需1分钟。发表于:

Hi, Spring fans! It's such an exciting time to be alive! I hope you're doing well. It's nearly the end of July, already! Time is flying and as always the community has not disappointed with their...

本周春天的最新消息:社区的内容令人惊叹,七月即将结束。

This Week in Spring - July 23rd, 2024
相关推荐 去reddit讨论

Spring Tools 4.24.0 released

原文英文,约200词,阅读约需1分钟。发表于:

Dear Spring Community, I am happy to announce the 4.24.0 release of the Spring Tools 4 for Visual Studio Code, Eclipse and Theia. important highlights (Spring Boot) SPEL syntax highlighting and...

Spring Tools 4.24.0发布,增加了Spring Boot的SPEL语法高亮和验证,MySQL和PostgreSQL查询语法高亮和验证,以及@Profile,@Resource,@Qualifier,@Value注释的内容辅助、导航和查找引用的改进。

Spring Tools 4.24.0 released
相关推荐 去reddit讨论

Spring Ecosystem Delivers Numerous Milestone Releases

原文英文,约1000词,阅读约需4分钟。发表于:

There was a flurry of activity in the Spring ecosystem during the week of July 15th, 2024, highlighting milestone releases of: Spring Boot 3.4.0-M1; Spring Framework 6.2.0-M6; Spring Security...

2024年7月15日的一周内,Spring生态系统发布了一系列重要版本,包括Spring Boot 3.4.0-M1、Spring Framework 6.2.0-M6、Spring Security 6.4.0-M1、Spring Session 3.4.0-M1、Spring Integration 6.4.0-M1、Spring Modulith 1.3.0-M1、Spring AMQP 3.2.0-M1和Spring for Apache Kafka 3.3.0-M1。这些版本修复了bug,改进了文档,升级了依赖,并提供了新功能。详细信息请参阅发布说明。

Spring Ecosystem Delivers Numerous Milestone Releases
相关推荐 去reddit讨论

Spring Modulith 1.3 M1, 1.2.2, and 1.1.7 released

原文英文,约200词,阅读约需1分钟。发表于:

I am excited to announce the releases of Spring Modulith 1.3 M1, 1.2.2, and 1.1.7. The former ships with the following new features: Upgrade to Spring Boot 3.4 M1 and Spring Framework 6.2 M6 –...

Spring Modulith 1.3 M1, 1.2.2, and 1.1.7发布,包括Spring Boot和Spring Framework的升级,文档创建的改进,以及在模块文件夹之外使用@ApplicationModuleTest的能力。还包括了错误修复。欢迎反馈。

Spring Modulith 1.3 M1, 1.2.2, and 1.1.7 released
相关推荐 去reddit讨论

Spring Batch + JPA 处理 Excel 文件教程

原文约7600字,阅读约需18分钟。发表于:

在本文中,我们将演示如何使用 Spring Batch 从 Excel (.xls 或 .xlsx) 文件读取所有行并将其保存到 Spring Boot 应用程序中的数据库中。我们将介绍从读取 Excel 文件、将行转换为Entity实例、将这些实例保存到数据库、记录进度以及使用 cron 表达式安排批处理作业的整个过程。前提:确保您具有以下信息: JDK 17 或更高版本 Maven 或...

本文介绍了如何使用Spring Batch和JPA处理Excel文件。首先,需要确保具备所需的JDK、Maven或Gradle、Spring Boot和数据库等信息。然后,通过配置pom.xml文件添加所需的依赖项。接下来,定义实体类和存储库接口,并使用PoiItemReader读取Excel文件。然后,使用JpaRepository将数据保存到数据库中。最后,配置Spring Batch作业并使用@EnableScheduling注解和@Scheduled注解调度批处理作业。

相关推荐 去reddit讨论

Spring Framework 6.2.0-M6 Available Now

原文英文,约100词,阅读约需1分钟。发表于:

Shortly after our fifth milestone, we have released Spring Framework 6.2.0-M6. This milestone is mostly about addressing a binary backward compatibility with previous 6.x generations. Spring...

Spring Framework 6.2.0-M6现已发布,专注于与之前的6.x版本保持二进制向后兼容。请查看发布说明以获取更多详细信息。

Spring Framework 6.2.0-M6 Available Now
相关推荐 去reddit讨论

Spring Tips: Proxies

原文英文,约100词,阅读约需1分钟。发表于:

Hi, Spring fans! In this installment we look at the use of JDK and CGLIB-based proxies in Spring, and demystify their application #Java #SpringBoot #SpringFramework #Architecture #DesignPatterns #oop

本文介绍了Spring框架中使用JDK和CGLIB代理的方法,并解释了它们的应用。

Spring Tips: Proxies
相关推荐 去reddit讨论

Spring for Apache Pulsar 1.0.8 and 1.1.2 are now available

原文英文,约100词,阅读约需1分钟。发表于:

On behalf of the team and everyone who has contributed, I’m happy to announce that Spring for Apache Pulsar 1.0.8 and 1.1.2 have been released and are now available from Maven Central. The...

Spring for Apache Pulsar 1.0.8和1.1.2已发布,可从Maven Central获取。这些版本包括依赖项升级。

Spring for Apache Pulsar 1.0.8 and 1.1.2 are now available
相关推荐 去reddit讨论

Spring Integration 6.4.0-M1 Available

原文英文,约300词,阅读约需1分钟。发表于:

On behalf of the team and everyone who contributed, I am pleased to announce the first Milestone for Spring Integration 6.4.0 generation. In addition the regular bug fixes and dependency upgrades...

Spring Integration 6.4.0-M1发布,修复bug和升级依赖。新特性包括分布式LockRegistry实现在DB中丢失锁时抛出ConcurrentModificationException异常,JDBC消息存储组件中的LobHandler API被弃用,ZeroMqMessageHandler可以绑定端口,MQTT v5通道适配器的订阅标识符改进,等等。迁移指南和反馈渠道也提供。

Spring Integration 6.4.0-M1 Available
相关推荐 去reddit讨论