googleapis / googleapis/python-aiplatform

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

Abierto
#5,907 0 comentarios 2 reacciones 0 asignados Ver en GitHub
api: vertex-ai
Lenguaje dominante
Python
Estrellas
905
Forks
465
Merge medio
1 d 13 h
PR fusionados (30 d)
44

Descripción

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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.