GeminiInference
Attributes
attributenamestr= 'gemini'attributeConfigtype= GeminiInferenceConfigattributecfg= GeminiInferenceConfig.model_validate(kwargs)Functions
func__init__(self, **kwargs) -> Noneparamselfparamkwargs= {}Returns
Nonefuncgenerate(self, *, prompt, max_tokens=256, temperature=0.0, stop=None) -> strparamselfparampromptstrparammax_tokensint= 256paramtemperaturefloat= 0.0paramstoplist[str] | None= NoneReturns
str