mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-21 14:18:52 +00:00
Hotfix RetrievalQA Docs: docs: Fix formatting (#21183)
# Newline Characters breaking formatting **Description**: As you can see in the image below, the formatting in the documentation is broken. As far as I can see the two added `\n` characters are breaking the documentation. Therefore I would propose to remove those  **Dependencies**: None **Twitter Handle** - epu9byj --------- Co-authored-by: gere <gere@kapo.zh.ch> Co-authored-by: Chester Curme <chester.curme@gmail.com>
This commit is contained in:
parent
64e17bd793
commit
3a8d1d8838
@ -216,8 +216,8 @@ class RetrievalQA(BaseRetrievalQA):
|
||||
system_prompt = (
|
||||
"Use the given context to answer the question. "
|
||||
"If you don't know the answer, say you don't know. "
|
||||
"Use three sentence maximum and keep the answer concise."
|
||||
"\n\n{context}"
|
||||
"Use three sentence maximum and keep the answer concise. "
|
||||
"Context: {context}"
|
||||
)
|
||||
prompt = ChatPromptTemplate.from_messages(
|
||||
[
|
||||
|
Loading…
Reference in New Issue
Block a user