Skip to content

Add an Ollama (local LLM) sample to spring-agent-flow-samples #6

@ahmed-sekka

Description

@ahmed-sekka

The first-time experience requires a Mistral API key, which is friction for self-hosted / privacy-sensitive evaluators. An Ollama-backed sample removes that barrier.

Acceptance criteria

  • spring-ai-starter-model-ollama added as a sample-scoped dependency
  • OllamaLocalDemo.java running a small graph against a local Ollama instance
  • README sample table updated, with prerequisites note (e.g., ollama pull llama3.2)
  • Smoke-tested against Ollama running on the default port

Why

Lowest-barrier evaluation path: clone repo → ollama servemvn exec:java. No API key required.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesthelp wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions