googleapis / googleapis/python-aiplatform

Support missing request parameters for TextGenerationModel.predict

Đang mở
#3,064 4 bình luận 2 reaction 0 người được giao Xem trên GitHub
api: vertex-ai
Ngôn ngữ chính
Python
Star
905
Fork
465
Merge trung bình
1 ngày 13 giờ
Pull request đã merge (30 ngày)
44

Mô tả

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!

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.