googleapis / googleapis/python-aiplatform

Support missing request parameters for TextGenerationModel.predict

Open
#3,064 4 comments 2 reactions 0 assignees View on GitHub
api: vertex-ai
Dominant language
Python
Stars
905
Forks
465
Avg merge
1d 13h
Merged PRs (30d)
44

Description

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!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.