Class SystemOneRuntimeHints

java.lang.Object
org.springframework.ai.systemone.aot.SystemOneRuntimeHints
All Implemented Interfaces:
org.springframework.aot.hint.RuntimeHintsRegistrar

public class SystemOneRuntimeHints extends Object implements org.springframework.aot.hint.RuntimeHintsRegistrar
Registers runtime hints for the System One API types that the client sends and receives as JSON.

Scanning the package would miss types such as JsonContent that use @JsonValue and @JsonCreator only, so the types are listed here. Every decision model built on the client, such as the Ollama one, gets these hints through its dependency on this module.

Since:
2.1.0
Author:
Thomas Vitale, Christian Tzolov
  • Constructor Details

    • SystemOneRuntimeHints

      public SystemOneRuntimeHints()
  • Method Details

    • registerHints

      public void registerHints(org.springframework.aot.hint.RuntimeHints hints, @Nullable ClassLoader classLoader)
      Specified by:
      registerHints in interface org.springframework.aot.hint.RuntimeHintsRegistrar