Welcome to Portkey Forum

Updated 12 months ago

Make a Copy Button in Evals to Copy-Paste the Prompt Output Quickly

Suggestion: Make a copy button in evals to copy-paste the prompt output quickly
V
e
9 comments
Can you elaborate a bit? You mean adding a button here ⬇️ to copy the response text?

Parallelly, letting you edit the request text in the log and sending a completion request from there itself is on our radar!
Attachment
image.png
I was thinking when I open the entry to look at the text response, it would be great to have a button to copy-paste it. Not from the table itself, because before looking at the response, I might not know if I want to copy-paste it.
Here
Attachment
2023-12-10_07.37.58_app.portkey.ai_cb8d26af7bcf.png
Ah got it! Like this, the one we have for the JSON view:
Attachment
image.png
Right! Can't you just implement it for the text view as well? I mean, I don't see a reason not to do it ...
haha yeah sure. One q on this: What format would you think work for you? JSON object, which is how the object actually is, or something else like Markdown?
@Sabbyasachi who can do this!
Plain text would already be fine. Copying the JSON object is already possible via button.
On it! Thanks! Will let you know once it's live
Add a reply
Sign up and join the conversation on Discord