VertexAIConfig

org.llm4s.llmconnect.config.VertexAIConfig
See theVertexAIConfig companion class

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def fromValues(modelName: String, projectId: String, location: String, credentialFilePath: Option[String])(using resolver: ContextWindowResolver): VertexAIConfig

Constructs a VertexAIConfig, resolving contextWindow and reserveCompletion from the model registry if available.

Constructs a VertexAIConfig, resolving contextWindow and reserveCompletion from the model registry if available.

Value parameters

credentialFilePath

Optional path to a Google JSON credential file.

location

GCP region (defaults to "us-central1").

modelName

Model identifier, e.g. "gemini-2.0-flash".

projectId

GCP project ID.

Attributes

Concrete fields

val DEFAULT_LOCATION: String