Implements

  • LanguageModel

Constructors

  • Parameters

    • name: string

      the unique name for this language model. It will be used to identify the model in the UI.

    • uri: string

      the URI pointing to the Llamafile model location.

    • port: number

      the port on which the Llamafile model server operates.

    • Optional defaultRequestSettings: {
          [key: string]: unknown;
      }

      optional default settings for requests made using this model.

      • [key: string]: unknown

    Returns LlamafileLanguageModel

Properties

defaultRequestSettings?: {
    [key: string]: unknown;
}

optional default settings for requests made using this model.

Type declaration

  • [key: string]: unknown
name: string

the unique name for this language model. It will be used to identify the model in the UI.

port: number

the port on which the Llamafile model server operates.

providerId: "llamafile" = 'llamafile'
uri: string

the URI pointing to the Llamafile model location.

vendor: string = 'Mozilla'

Accessors

Methods