Optionaldata: { Optionalmodel?: stringOptionalcontents?: Content[]Optionalconfig?: GenerateContentConfigOptionalliveOptionaltoolsOptionalmodelThe model name.
The contents to send to the model.
OptionalconfigAdditional config for the generate content request. Tools in generate_content_config should not be set.
Live connect config for the request.
The tools dictionary.
Appends tools to the request.
The tools to append.
Staticextract
LLM request class that allows passing in tools, output schema and system instructions to the model.
Attributes: model: The model name. contents: The contents to send to the model. config: Additional config for the generate content request. toolsDict: The tools dictionary.