BuiltinProviderModule

org.llm4s.llmconnect.provider.BuiltinProviderModule

The META-INF/services entry point for the providers llm4s-core ships.

This is a class rather than an object because java.util.ServiceLoader instantiates the class named in the services file through its public no-arg constructor, and a Scala object exposes its instance as a MODULE$ field instead. The same shape is what GraalVM's ServiceLoaderFeature needs, so a provider module written this way works under native-image too.

It delegates to BuiltinProviders, which stays the readable list.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def chatProviders: Seq[ProviderDescriptor]

The chat providers this module supplies.

The chat providers this module supplies.

Attributes

Definition Classes