langchain.chains.question_answering.stuff_prompt
PROMPT_SELECTOR
default_prompt
PromptTemplate
is_chat_modelならCHAT_PROMPT
CHAT_PROMPT = ChatPromptTemplate.from_messages(messages) L28 system_template
(verboseで見るやつ!!)
Use the following pieces of context to answer the users question.
「ユーザの質問に答えるのに以下のコンテキストを使ってください」
If you don't know the answer, just say that you don't know, don't try to make up an answer.
「答えがわからない場合は、単にわかりませんと言ってくだだい。答えを作り上げようとしないでください」
human message