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
A major feature where as a user I should be able to create multiple prompt files where response of one prompt is piped into the input of another prompt and into another and so on.
Here is an expected prompt system that generates a motivational quote and we pass it into another prompt which verifies whether some fact is correct or incorrect
quote.prompt
inputs:
- type: scalarname: authorengine: gpt-4-turbo-previewrole: You are a helpful assistant designed to output motivational quotesprompt: "Generate a motivational quote by {{author}}"output: motivationalQuote #store the output in a variableaskNext: verify.prompt. #specify the next prompt file to execute
verify.prompt
inputs:
- type: scalarname: motivationalQuote #this prompt should be able to access the global variablesrole: You are a helpful assistant designed to verify a quote was said by the author or notprompt: "Was {{motivationalQuote}} really written by the author? output yes or no"output: motivationalQuote #we pass this from the prompt so that it can be received by the application
- type: responseexpected: [ yes ]
This is an absolute f*ckfest of a feature and needs some serious modification to the code and tests.
The text was updated successfully, but these errors were encountered:
A major feature where as a user I should be able to create multiple prompt files where response of one prompt is piped into the input of another prompt and into another and so on.
Here is an expected prompt system that generates a motivational quote and we pass it into another prompt which verifies whether some fact is correct or incorrect
quote.prompt
verify.prompt
This is an absolute f*ckfest of a feature and needs some serious modification to the code and tests.
The text was updated successfully, but these errors were encountered: