We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e165cc5 commit cae8e82Copy full SHA for cae8e82
2 files changed
.env
@@ -2,7 +2,7 @@
2
SECRET_KEY=shizhiyuan_hanxujie_liushiao
3
ACCESS_TOKEN_EXPIRE_MINUTES=1440
4
POSTGRES_USER=postgres
5
-POSTGRES_PASSWORD=postgres
+POSTGRES_PASSWORD=shizhiyuan_hanxujie_liushiao
6
POSTGRES_HOST=127.0.0.1
7
POSTGRES_PORT=5432
8
POSTGRES_DB=papers
backend/app/api/v1/endpoints/papers.py
@@ -862,7 +862,7 @@ async def _handle_paper_qa(
862
论文内容如下:
863
{context_text}
864
865
-请基于以上内容回答用户的问题。如果问题与论文内容无关或无法从论文中找到答案,请礼貌地说明。"""
+请基于以上内容回答用户的问题。如果用户提问是英文,则用英文作答;如果提问是中文或其他语言,则使用同样的语言回答。若问题与论文内容无关或无法从论文中找到答案,请礼貌地说明理由。"""
866
}
867
]
868
0 commit comments