googleapis / googleapis/python-aiplatform

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

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

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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