text-bison-32k predict does not support 'seed' argument

Hi,

The documentation suggests 'seed' is an optional argument. However, I tried using it with multiple versions of google-cloud-aiplatform but get the error:

TypeError: _TextGenerationModel.predict() got an unexpected keyword argument 'seed'

Any thoughts on how I might be able to fix this?

Thanks

 

 

 

7 1 82
1 REPLY 1

Hello,

Upon checking, there has been a public issue that was reported, see this link for your reference. Although this public issue was about performance degradation when using seed, I believe that this may be helpful with your case. You could also check this alternative solution.

Hope this helps.