Spring AI 1.0.0 M1 released
We are happy to announce the 1.0.0 Milestone 1 release of Spring AI.
This release has the following new features an improvements.
ChatClient Fluent API
The fluent API provides methods to construct a Prompt, which is then passed as input to the AI model. You create a ChatClient
using the ChatClient.Builder
object. You can obtain an auto-configured ChatClient.Builder
from Spring Boot autoconfiguration or create one programmatically.
If you're familiar with other Spring client classes like WebClient
, RestClient
, and JdbcClient
, this will feel familiar.
Here is a simple usage example
…