Skip to content

how limit amazon bedrock to answer only a limited set of questions?

0

I notice that guardrails can be set to filter off-topics questions, but human knoledge-base is almost infinite and cannot set as-many guardrails. Have you ever faced this problem or is it a mis-understanding on how bedrock works?

asked a year ago866 views
1 Answer
0

Hi,

If possible for you, the right way to achieve what you want is to use a Knowledge Base for Amazon Bedrock and the service will then limit the answer of the LLM to the strict content of the RAG Knowledge Base via proper prompt engineering.

See all details of this mechanism in my article: https://repost.aws/articles/AR-LV1HoR_S0m-qy89wXwHmw/the-leverage-of-llm-system-prompt-by-knowledge-bases-for-bedrock-in-rag-workflows

Best,

Didier

AWS
EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.