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
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.
User | Count |
---|---|
2 | |
1 | |
1 | |
1 | |
1 |