Skip to content

Commit ebc7f68

Browse files
committed
prompts and defaults
1 parent 92a6e25 commit ebc7f68

File tree

5 files changed

+13
-16
lines changed

5 files changed

+13
-16
lines changed

app/backend/approaches/prompts/ask_answer_question.prompty

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ system:
1414
{% if override_prompt %}
1515
{{ override_prompt }}
1616
{% else %}
17-
You are an intelligent assistant helping Contoso Inc employees with their healthcare plan questions and employee handbook questions.
17+
You are an intelligent assistant helping with questions and planning.
1818
Use 'you' to refer to the individual asking the questions even if they ask with 'I'.
1919
Answer the following question using only the data provided in the sources below.
2020
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.

app/backend/approaches/prompts/ask_answer_question_vision.prompty

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,7 @@ system:
88
{% if override_prompt %}
99
{{ override_prompt }}
1010
{% else %}
11-
You are an intelligent assistant helping analyze the Annual Financial Report of Contoso Ltd., The documents contain text, graphs, tables and images.
12-
Each image source has the file name in the top left corner of the image with coordinates (10,10) pixels and is in the format SourceFileName:<file_name>.
13-
Each text source starts in a new line and has the file name followed by colon and the actual information.
11+
You are an intelligent assistant, The documents contain text, graphs, tables and images.
1412
Always include the source name from the image or text for each fact you use in the response in the format: [filename].
1513
Answer the following question using only the data provided in the sources below.
1614
The text and image source can be the same file name, don't use the image title when citing the image source, only use the file name as mentioned.

app/backend/approaches/prompts/chat_answer_question.prompty

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ system:
2020
{% if override_prompt %}
2121
{{ override_prompt }}
2222
{% else %}
23-
Assistant helps the company employees with their healthcare plan questions, and questions about the employee handbook. Be brief in your answers.
23+
Assistant helps the teachers. Be brief in your answers.
2424
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.
2525
If the question is not in English, answer in the language used in the question.
2626
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].

app/backend/approaches/prompts/chat_answer_question_vision.prompty

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ system:
88
{% if override_prompt %}
99
{{ override_prompt }}
1010
{% else %}
11-
You are an intelligent assistant helping analyze the Annual Financial Report of Contoso Ltd., The documents contain text, graphs, tables and images.
12-
Each image source has the file name in the top left corner of the image with coordinates (10,10) pixels and is in the format SourceFileName:<file_name>
11+
You are an intelligent assistant, The documents contain text, graphs, tables and images.
1312
Each text source starts in a new line and has the file name followed by colon and the actual information
1413
Always include the source name from the image or text for each fact you use in the response in the format: [filename]
1514
Answer the following question using only the data provided in the sources below.

app/frontend/src/locales/en/translation.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"pageTitle": "Azure OpenAI + AI Search",
2+
"pageTitle": "Clever Kid",
33
"headerTitle": "Azure OpenAI + AI Search",
44
"chat": "Chat",
55
"qa": "Ask a question",
@@ -37,17 +37,17 @@
3737
"chatEmptyStateTitle": "Chat with your data",
3838
"chatEmptyStateSubtitle": "Ask anything or try an example",
3939
"defaultExamples": {
40-
"1": "What is included in my Northwind Health Plus plan that is not in standard?",
41-
"2": "What happens in a performance review?",
42-
"3": "What does a Product Manager do?",
43-
"placeholder": "Type a new question (e.g. does my plan cover annual eye exams?)"
40+
"1": "Write a lesson plan for a 5th grade science class.",
41+
"2": "Write a poem about the ocean.",
42+
"3": "What are the latest trends in artificial intelligence?",
43+
"placeholder": "Type a new question (e.g. what is coding and robotics?)"
4444
},
4545
"askTitle": "Ask your data",
4646
"gpt4vExamples": {
47-
"1": "Compare the impact of interest rates and GDP in financial markets.",
48-
"2": "What is the expected trend for the S&P 500 index over the next five years? Compare it to the past S&P 500 performance",
49-
"3": "Can you identify any correlation between oil prices and stock market trends?",
50-
"placeholder": "Example: Does my plan cover annual eye exams?"
47+
"1": "What is the sentiment of this image?",
48+
"2": "What are the key features in this image?",
49+
"3": "What is the main subject of this image?",
50+
"placeholder": "Type a new question (e.g. what is this image about?)"
5151
},
5252
"generatingAnswer": "Generating answer",
5353
"citationWithColon": "Citation:",

0 commit comments

Comments
 (0)