googleapis / googleapis/python-aiplatform

Support missing request parameters for TextGenerationModel.predict

未关闭
#3,064 4 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
api: vertex-ai
主要语言
Python
星标
905
派生
465
平均合并
1 天 13 小时
30 天内合并 PR
44

描述

Hi,

I am currently integrating PaLM-2 into [CRFM HELM](https://github.com/stanford-crfm/helm).
I noticed that some parameters are supported in an HTTP request (see [link](https://cloud.google.com/vertex-ai/docs/generative-ai/model-reference/text)) such as `echo`, `frequence_penaly` and `presence_penalty` but not in this Python SDK.

Would it be possible to add them please?
Thanks!

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。