-
Notifications
You must be signed in to change notification settings - Fork 628
Closed as not planned
Labels
enhancementNew feature or requestNew feature or request
Description
I think you need a way to simple print the:
phoenix.client.types.prompts.PromptVersion object
I created a prompt, can't remember what my prompt vars were, Just want to see the message JSON as a string. I'm having to go back to the UI just to see the prompt as a string.
We should be able to choose a model format (say OpenAI) by default and just print. Example below:
from phoenix.client import Client
client = Client()
prompt_name = "article-bullet-summarizer"
client.prompts.get(prompt_identifier=prompt_name)
prompt = client.prompts.get(prompt_version_id="UHJvbXB0VmVyc2lvbjoy")
print(prompt)
dosubot
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
✅ Done