ProviderModuleReport

org.llm4s.llmconnect.spi.ProviderModuleReport
See theProviderModuleReport companion object
@Stable
final case class ProviderModuleReport

One Llm4sProviderModule that classpath discovery loaded.

Value parameters

embeddingProviderIds

the embedding provider ids it contributed.

moduleClass

fully-qualified name of the module class.

providerIds

the chat provider ids it contributed, in canonical spelling.

source

where the class was loaded from (a jar URL or a directory), when the JVM can say. None for a class with no code source, which is normal under some class loaders.

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def contribution: String

How this module's contribution reads in ProviderRegistryReport.describe.

How this module's contribution reads in ProviderRegistryReport.describe.

Attributes

def withModuleClass(moduleClass: String): ProviderModuleReport
def withProviderIds(providerIds: Seq[String]): ProviderModuleReport
def withSource(source: String): ProviderModuleReport
def withSource(source: Option[String]): ProviderModuleReport

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product