Class AbstractGoogleLLMConnection<MessageType, AuthOptions>Abstract

Parameters needed to setup the client connection. AuthOptions are something like GoogleAuthOptions (from google-auth-library) or WebGoogleAuthOptions.

Type Parameters

  • MessageType
  • AuthOptions

Hierarchy (view full)

Constructors

Properties

apiConfig?: GoogleAIAPIConfig
apiVersion: string = "v1"

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

caller: AsyncCaller
model: string

Model to use

modelName: string

Model to use Alias for model

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

Whether or not to stream.

false

Accessors

Methods