Get the model name/identifier for this LLM instance.
The model name if available, "unknown" otherwise.
Plugins should override this property to provide their model information.
Returns a LLMStream that can be used to push text and receive LLM responses.
Optional
connOptional
extraOptional
geminiOptional
parallelOptional
toolOptional
tool
Create a new instance of Google GenAI LLM.
Environment Requirements:
GOOGLE_APPLICATION_CREDENTIALS
environment variable to the path of the service account key file or use any of the other Google Cloud auth methods. The Google Cloud project and location can be set viaproject
andlocation
arguments or the environment variablesGOOGLE_CLOUD_PROJECT
andGOOGLE_CLOUD_LOCATION
. By default, the project is inferred from the service account key file, and the location defaults to "us-central1".apiKey
argument or theGOOGLE_API_KEY
environment variable.