REST Endpoint = https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash:generateContent
generation_config = {‘temperature’:2.0,
‘maxOutputTokens’:8192,
‘topP’:0.10,
‘topK’:1,
‘response_mime_type’: ‘text/plain’, #‘application/json’
#‘response_schema’: response_schema
}
I have given System Instructions as much as I can, as well as Sample Output, but each time I used to see different response values for same Data Query.
I had tried with Json Schema as well, but not good luck.
Can you please suggest if Needs to change any Temparature/topP/topK settings on above configuration.
Please guide.