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_CREDENTIALSenvironment 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 viaprojectandlocationarguments or the environment variablesGOOGLE_CLOUD_PROJECTandGOOGLE_CLOUD_LOCATION. By default, the project is inferred from the service account key file, and the location defaults to "us-central1".apiKeyargument or theGOOGLE_API_KEYenvironment variable.