googleapis / googleapis/python-aiplatform

prompts.get_version doesn't provide the prompt_data of the particular version

Đang mở
#5,907 0 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ả

The **_prompts.get_version_** function is intended to retrieve the content of a specific versioned prompt, but currently returns the latest prompt data instead — indicating a bug in its implementation.

#### Environment details
- Python version: >= 3.11
- `google-cloud-aiplatform` version: - v1.119.0 and v1.120.0

#### Steps to reproduce

1. Create multiple versions of prompts using **_prompts.create_version_**
2. Fetch the particular version of prompt using **_prompts.get_version_**

#### Code example

Image

#### Output

Image

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.