Welcome to Portkey Forum

Updated 8 months ago

Prompt Partials on Portkey: Exploring Usage and Use-cases

πŸ‘‹ Noticed Prompt Partials on Portkey, any documentation around the usage and potential use-cases?
V
H
b
9 comments
⚑⚑

On the way!
Any update on this?
Cheers! @Vrushank | Portkey is there a render method for the partials as well? I am using the python sdk.
Interesting! Didn't consider this actually. What is the use case?
Was thinking something like:
  • have a partial which has some variables.
  • backend renders the partial with the values of the variables.
  • pass the rendered text along with my other messages history to a prompt which accepts an array of messages in the raw mode.
Let me know if you'd do it differently
Currently, you can make the partial a part of a prompt template and then render that prompt right?
ah, that's true! πŸ™Œ
Add a reply
Sign up and join the conversation on Discord