You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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)
The text was updated successfully, but these errors were encountered: