Class AbstractGoogleLLMConnection<MessageType, AuthOptions>Abstract

Base interface for language model parameters. A subclass of BaseLanguageModel should have a constructor that takes in a parameter that extends this interface.

Type Parameters

  • MessageType

  • AuthOptions

Hierarchy

Constructors

Properties

apiVersion: string = "v1"

The version of the API functions. Part of the path.

caller: AsyncCaller
endpoint: string = "us-central1-aiplatform.googleapis.com"

Hostname for the API call (if this is running on GCP)

location: string = "us-central1"

Region where the LLM is stored (if this is running on GCP)

model: string

Model to use

platformType: undefined | GooglePlatformType

What platform to run the service on. If not specified, the class should determine this from other means. Either way, the platform actually used will be in the "platform" getter.

streaming: boolean

Accessors

Methods

Generated using TypeDoc