ProvidersConfigModel

org.llm4s.config.ProvidersConfigModel

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object ApiKey

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
ApiKey.type
object BaseUrl

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
BaseUrl.type
object ModelName

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
ModelName.type
final case class NamedProviderConfig(provider: ProviderKind, model: ModelName, baseUrl: Option[BaseUrl], apiKey: Option[ApiKey], organization: Option[String], endpoint: Option[String], apiVersion: Option[String])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

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

Attributes

Companion
enum
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
object ProviderName

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
final case class ProvidersConfig(selectedProvider: Option[ProviderName], namedProviders: Map[ProviderName, NamedProviderConfig])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class RawNamedProviderSection(provider: Option[String], model: Option[String], baseUrl: Option[String], apiKey: Option[String], organization: Option[String], endpoint: Option[String], apiVersion: Option[String])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class RawProvidersConfig(selectedProvider: Option[ProviderName], namedProviders: Map[ProviderName, RawNamedProviderSection])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Types

opaque type ApiKey
opaque type BaseUrl
opaque type ModelName
opaque type ProviderName

Extensions

Extensions

extension (value: ModelName)
def asString: String
extension (value: BaseUrl)
def asUrl: String
extension (value: ApiKey)
def asKey: String
extension (value: ProviderName)
def asName: String