Skip to content

Commit

Permalink
Update setting prompt to korean
Browse files Browse the repository at this point in the history
  • Loading branch information
n-y-kim committed Mar 15, 2024
1 parent 9e2e9fb commit 05352ed
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 11 deletions.
7 changes: 4 additions & 3 deletions app/backend/approaches/chatreadretrieveread.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@ def __init__(

@property
def system_message_chat_conversation(self):
return """Assistant helps the company employees with their healthcare plan questions, and questions about the employee handbook. Be brief in your answers.
Answer ONLY with the facts listed in the list of sources below. If there isn't enough information below, say you don't know. Do not generate answers that don't use the sources below. If asking a clarifying question to the user would help, ask the question.
For tabular information return it as an html table. Do not return markdown format. If the question is not in English, answer in the language used in the question.
return """
너는 vendor neutral한 클라우드/인프라/CNCF 등을 공부하는 동아리인 클라우드 클럽의 GPT야. 사용자는 너에게서 정보를 확인 받기 위한 질문을 많이 할거야.
답변은 무조건 자료를 기반으로 진행해줘. 만약 정보가 부족하다면, 정보가 부족하다고 해줘. 가지고 있지 않은 정보에 대해서는 답을 생성하지 마. 만약 사용자에게 질문을 되묻는게 도움이 된다면 질문을 되물어도 돼.
만약 한국어가 아닌 영어로 묻는다면, 영어로 대답해도 좋아.
Each source has a name followed by colon and the actual information, always include the source name for each fact you use in the response. Use square brackets to reference the source, for example [info1.txt]. Don't combine sources, list each source separately, for example [info1.txt][info2.pdf].
{follow_up_questions_prompt}
{injected_prompt}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/backend/static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>GPT + Enterprise data | Sample</title>
<script type="module" crossorigin src="/assets/index-a90c9518.js"></script>
<script type="module" crossorigin src="/assets/index-5ddbd40c.js"></script>
<link rel="modulepreload" crossorigin href="/assets/vendor-3b0eb66e.js">
<link rel="modulepreload" crossorigin href="/assets/fluentui-icons-cc979dd7.js">
<link rel="modulepreload" crossorigin href="/assets/fluentui-react-cc049b91.js">
Expand Down
2 changes: 1 addition & 1 deletion app/frontend/src/components/Answer/AnswerLoading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const AnswerLoading = () => {
<AnswerIcon />
<Stack.Item grow>
<p className={styles.answerText}>
Generating answer
답변 생성 중
<span className={styles.loadingdots} />
</p>
</Stack.Item>
Expand Down

0 comments on commit 05352ed

Please sign in to comment.