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
Is there anyway to get the default prompt templates used in Bedrock interactions (specifically, we are using the RetrieveAndGenerateCommand for a knowledge base) programmatically from the SDK?
Details
I want the response from the model to be slightly different, just alter tones or the way it responds, but don't want to store hard coded versions of the already optimized prompts used in the process, just to add a single sentence. We did that in the past, and missed out on major default prompt changes, we only caught that when testing the knowledge base using the AWS console.
Are these values already exposed anywhere in the SDK? If not, is there any way to get these programmatically?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Ask
Is there anyway to get the default prompt templates used in Bedrock interactions (specifically, we are using the
RetrieveAndGenerateCommandfor a knowledge base) programmatically from the SDK?Details
I want the response from the model to be slightly different, just alter tones or the way it responds, but don't want to store hard coded versions of the already optimized prompts used in the process, just to add a single sentence. We did that in the past, and missed out on major default prompt changes, we only caught that when testing the knowledge base using the AWS console.
Are these values already exposed anywhere in the SDK? If not, is there any way to get these programmatically?
Beta Was this translation helpful? Give feedback.
All reactions