AiModel

interface AiModel<M> : ModelMetadata

Wraps a lower level AI model and allows metadata to be attached to a model

Inheritors

Properties

Link copied to clipboard
abstract val model: M
Link copied to clipboard
abstract val name: String

Name of the LLM, such as "gpt-3.5-turbo"

Link copied to clipboard
abstract val provider: String

Name of the provider, such as "OpenAI"

Link copied to clipboard
abstract val type: ModelType

Functions

Link copied to clipboard
open fun infoString(verbose: Boolean?, indent: Int): String