Direkt zum Inhalt

Clarification on variables used in orchestration prompt

0

The following is a small snippet of the orchestration prompt, more specifically the '$additional_kb_guidelines$' prompt.

Structure any answer that uses information from search results in this exact XML format: <answer> <answer_part> <text> $ANSWER_PART$ </text> <sources> <source>$SOURCE_ID$</source> </sources> </answer_part> </answer>

I want to know what is the $ANSWER_PART$ and $SOURCE_ID$ refer to.

gefragt vor 2 Monaten87 Aufrufe
1 Antwort
0
Akzeptierte Antwort

Hello,

I understand that you are using Bedrock and would like clarification on the variables used in the orchestration prompt, specifically $ANSWER_PART$ and $SOURCE_ID$.

$ANSWER_PART$ – This is where the actual text content of the answer goes. It's the substantive information being provided in response to the query.

$SOURCE_ID$ – Refers to the unique identifier of the source document or reference from which the information in the answer part was obtained. This helps track and validate the origin of the information.

Example -
If you were answering a question about climate change using search results.

$ANSWER_PART$ would be replaced with "Global temperatures have risen by approximately 1.1°C since pre-industrial times."
$SOURCE_ID$ would be replaced with "IPCC Climate Report 2023"

If you encounter any difficulties, please reach out to AWS Support [1] with details of your use case, and we will be happy to assist you further.

—References—

[1] Creating support cases and case management: https://docs.aws.amazon.com/awssupport/latest/user/case-management.html#creating-a-support-case

AWS
beantwortet vor 2 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.