Leverage the Power of 45k, free, Hugging Face Models with Spring AI and Ollama

Engineering | Christian Tzolov | October 22, 2024 | ...

This blog post is co-authored by our great contributor Thomas Vitale.

Ollama now supports all GGUF models from Hugging Face, allowing access to over 45,000 community-created models through Spring AI's Ollama integration, runnable locally.

spring-ai-ollama-huggingface-gguf2

We'll explore using this new feature with Spring AI. The Spring AI Ollama integration can automatically pull unavailable models for both chat completion and embedding models. This is useful when switching models or deploying to new environments.

Setting Up Spring AI with Ollama

Install Ollama on your system: https://ollama.com/download.

Tip: Spring AI also supports running Ollama via Testcontainers or integrating with an external Ollama service via Kubernetes Service Bindings

This Week in Spring - October 22nd, 2024

Engineering | Josh Long | October 22, 2024 | ...

Hi, Spring fans! Welcome to another installment of This Week in Spring. I write this to you in an Uber speeding down the autobahn near Frankfurt, Germany. What a time to be alive! At the rate this driver's going, I won't have much time to write this before we've arrived, so let's dive right into it!

Spring for Apache Kafka 3.3.0-RC1 Released

Releases | Soby Chacko | October 22, 2024 | ...

Spring for Apache Kafka 3.3.0-RC1 Now Available

We're excited to announce Spring for Apache Kafka 3.3.0-RC1! This release represents the collaborative effort of our vibrant community, and we're grateful for every contribution.

What's New

  • Check out the complete release notes for detailed updates and improvements
  • Full integration with the upcoming Spring Boot 3.4.0-RC1

Roadmap

The final release of version 3.3.0 is scheduled for general availability in November 2024. Before then, we invite you to:

  • Test drive this release candidate
  • Share your feedback and experiences
  • Report any bugs or issues you encounter

Spring AMQP 3.2 RC1 Available

Releases | Artem Bilan | October 22, 2024 | ...

On behalf of the team and everyone who contributed, I am pleased to announce the first Release Candidate for Spring AMQP 3.2 generation.

Some highlights of this release:

  • The server side retry logic (manual DLX) has been improved for a new retry-count header to make Spring AMQP compatible with recently released RabbitMQ 4.0.x. The MessageProperties.incrementRetryCount() has to be called before re-publishing message to DLX. The previous logic based on the x-death header does not work anymore since RabbitMQ 4.0.x ignored any x-* headers sent from the client;
  • More Open Telemetry semantic tags are exposed via Rabbit Listener and Template observations;
  • Some bugs and internal code improvement.

Spring Security 6.4.0-RC1 is available now

Releases | Steve Riesenberg | October 21, 2024 | ...

On behalf of the team and everyone who has contributed, I am pleased to announce that the first release candidate of Spring Security 6.4 is available.

This release brings several compelling features including:

  • Support for Passkeys
  • Support for making access token requests with RestClient
  • Improved support for making access token requests with WebClient
  • Support for building a ClientRegistration from provided configuration
  • AuthorizationManager now returns an AuthorizationResult
  • AuthorizationEventPublisher now accepts an AuthorizationResult
  • Support for extracting nested authorities via SpEL expressions
  • Security Observations are now selectable

Spring Data 2024.0.5 and 2023.1.11 released

Releases | Mark Paluch | October 18, 2024 | ...

On behalf of the team and everyone who has contributed, I’m pleased to announce the availability of 2024.0.5 and 2023.1.11 service releases. These releases ship with dependency upgrades, fixes for regressions, and selected improvements.

The upcoming Spring Boot releases 3.3.5, respective 3.2.11 will pick up the above releases by next week.

2024.0.5

Spring Data 2024.1.0 goes RC1

Releases | Mark Paluch | October 18, 2024 | ...

On behalf of the team and everyone who has contributed, I’m pleased to announce that Spring Data release train 2024.1 has entered the release candidate phase with 2024.1.0-RC1 being available now.

This release completes our Value Expression support across modules allowing you to leverage property placeholders in @Query along with the existing SpEL support. Developers of Spring Data fragments now can leverage fragment registration through spring.factories and obtain invocation metadata.

Please see the release notes for more details and upgrade instructions.

Going forward, we aim for a GA…

Get the Spring newsletter

Stay connected with the Spring newsletter

Subscribe

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

Tanzu Spring offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all