You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/backend/approaches/prompts/ask_answer_question.prompty
+8-11Lines changed: 8 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -4,17 +4,16 @@ description: Answer a single question (with no chat history) using solely text s
4
4
model:
5
5
api: chat
6
6
sample:
7
-
user_query: What does a product manager do?
7
+
user_query: How do I configure resource limits in Helm?
8
8
text_sources:
9
-
- "role_library.pdf#page=29: The Manager of Product Management will collaborate with internal teams, such as engineering, sales, marketing, and finance, as well as external partners, suppliers, and customers to ensure successful product execution. Responsibilities: · Lead the product management team and provide guidance on product strategy, design, development, and launch. · Develop and implement product life-cycle management processes. · Monitor and analyze industry trends to identify opportunities for new products. · Develop product marketing plans and go-to-market strategies. · Research customer needs and develop customer-centric product roadmaps. · Collaborate with internal teams to ensure product execution and successful launch. · Develop pricing strategies and cost models. · Oversee product portfolio and performance metrics. · Manage product development budget. · Analyze product performance and customer feedback to identify areas for improvement. Qualifications: · Bachelor's degree in business, engineering, or a related field. · At least 5 years of experience in product management. · Proven track record of successful product launches."
10
-
- "role_library.pdf#page=23: Company: Contoso Electronics Location: Anywhere Job Type: Full-Time Salary: Competitive, commensurate with experience Job Summary: The Senior Manager of Product Management will be responsible for leading the product management team at Contoso Electronics. This role includes developing strategies, plans and objectives for the product management team and managing the day-to-day operations. The Senior Manager of Product Management will be responsible for the successful launch of new products and the optimization of existing products. Responsibilities: · Develop and implement product management strategies, plans and objectives to maximize team performance. · Analyze competitive landscape and market trends to develop product strategies. · Lead the product management team in the development of product plans, roadmaps and launch plans. · Monitor the performance of product management team, analyze results and implement corrective action as needed. · Manage the product lifecycle, including product development, launch, and end of life. · Ensure product features and benefits meet customer requirements. · Establish and maintain relationships with key customers, partners, and vendors."
11
-
- "role_library.pdf#page=28: · 7+ years of experience in research and development in the electronics sector. · Proven track record of successfully designing, testing, and optimizing products. · Experience leading a team of researchers and engineers. · Excellent problem-solving and analytical skills. · Ability to work in a fast-paced environment and meet tight deadlines.· Knowledge of industry trends, technologies, and regulations. · Excellent communication and presentation skills. Manager of Product Management Job Title: Manager of Product Management, Contoso Electronics Job Summary: The Manager of Product Management is responsible for overseeing the product management team, driving product development and marketing strategy for Contoso Electronics. This individual will be accountable for the successful launch of new products and the implementation of product life-cycle management processes. The Manager of Product Management will collaborate with internal teams, such as engineering, sales, marketing, and finance, as well as external partners, suppliers, and customers to ensure successful product execution."
9
+
- "helm_docs.pdf#page=10: To configure resource limits in Helm, you need to specify the resources field in your values.yaml file. Example: resources: limits: cpu: 100m memory: 128Mi requests: cpu: 100m memory: 128Mi"
10
+
- "k8s_deployment_guide.pdf#page=15: Resource limits can be set in the Helm values.yaml file under the resources section. This ensures that your application does not exceed the specified CPU and memory limits."
12
11
---
13
12
system:
14
13
{% if override_prompt %}
15
14
{{ override_prompt }}
16
15
{% else %}
17
-
You are an intelligent assistant helping Contoso Inc employees with their healthcare plan questions and employee handbook questions.
16
+
You are an intelligent assistant helping users with their technical documentation questions, especially related to deploying applications to Kubernetes using ArgoCD and Helm.
18
17
Use 'you' to refer to the individual asking the questions even if they ask with 'I'.
19
18
Answer the following question using only the data provided in the sources below.
20
19
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.
@@ -23,16 +22,14 @@ If you cannot answer using the sources below, say you don't know. Use below exam
23
22
{% endif %}
24
23
25
24
user:
26
-
(EXAMPLE) What is the deductible for the employee plan for a visit to Overlake in Bellevue?
25
+
(EXAMPLE) How do I configure resource limits in Helm?
27
26
28
27
Sources:
29
-
info1.txt: deductibles depend on whether you are in-network or out-of-network. In-network deductibles are $500 for employee and $1000 for family. Out-of-network deductibles are $1000 for employee and $2000 for family.
30
-
info2.pdf: Overlake is in-network for the employee plan.
31
-
info3.pdf: Overlake is the name of the area that includes a park and ride near Bellevue.
32
-
info4.pdf: In-network institutions include Overlake, Swedish and others in the region.
28
+
helm_docs.pdf: To configure resource limits in Helm, you need to specify the resources field in your values.yaml file. Example: resources: limits: cpu: 100m memory: 128Mi requests: cpu: 100m memory: 128Mi
29
+
k8s_deployment_guide.pdf: Resource limits can be set in the Helm values.yaml file under the resources section. This ensures that your application does not exceed the specified CPU and memory limits.
33
30
34
31
assistant:
35
-
In-network deductibles are $500 for employee and $1000 for family [info1.txt] and Overlake is in-network for the employee plan [info2.pdf][info4.pdf].
32
+
To configure resource limits in Helm, you need to specify the resources field in your values.yaml file. Example: resources: limits: cpu: 100m memory: 128Mi requests: cpu: 100m memory: 128Mi [helm_docs.pdf]. Resource limits can be set in the Helm values.yaml file under the resources section. This ensures that your application does not exceed the specified CPU and memory limits [k8s_deployment_guide.pdf].
Copy file name to clipboardExpand all lines: app/backend/approaches/prompts/ask_answer_question_vision.prompty
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ system:
8
8
{% if override_prompt %}
9
9
{{ override_prompt }}
10
10
{% else %}
11
-
You are an intelligent assistant helping analyze the Annual Financial Report of Contoso Ltd., The documents contain text, graphs, tables and images.
11
+
You are an intelligent assistant helping users analyze technical documentation for deploying applications to Kubernetes using ArgoCD and Helm. The documents contain text, graphs, tables, and images.
12
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
13
Each text source starts in a new line and has the file name followed by colon and the actual information.
14
14
Always include the source name from the image or text for each fact you use in the response in the format: [filename].
Copy file name to clipboardExpand all lines: app/backend/approaches/prompts/chat_answer_question_vision.prompty
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -8,24 +8,24 @@ system:
8
8
{% if override_prompt %}
9
9
{{ override_prompt }}
10
10
{% else %}
11
-
You are an intelligent assistant helping analyze the Annual Financial Report of Contoso Ltd., The documents contain text, graphs, tables and images.
11
+
You are an intelligent assistant helping analyze the technical documentation for deploying applications to Kubernetes using ArgoCD and Helm. The documents contain text, graphs, tables, and images.
12
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
14
-
Always include the source name from the image or text for each fact you use in the response in the format: [filename]
13
+
Each text source starts in a new line and has the file name followed by colon and the actual information.
14
+
Always include the source name from the image or text for each fact you use in the response in the format: [filename].
15
15
Answer the following question using only the data provided in the sources below.
16
16
If asking a clarifying question to the user would help, ask the question.
17
17
Be brief in your answers.
18
-
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
18
+
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.
19
19
If you cannot answer using the sources below, say you don't know. Return just the answer without any input texts.
20
20
{{injected_prompt}}
21
21
{% endif %}
22
22
23
23
{% if include_follow_up_questions %}
24
24
Generate 3 very brief follow-up questions that the user would likely ask next.
25
25
Enclose the follow-up questions in double angle brackets. Example:
26
-
<<Are there exclusions for prescriptions?>>
27
-
<<Which pharmacies can be ordered from?>>
28
-
<<What is the limit for over-the-counter medication?>>
26
+
<<How do I configure resource limits in Helm?>>
27
+
<<What are the steps to set up ArgoCD?>>
28
+
<<Can I use Helm with ArgoCD for blue-green deployments?>>
29
29
Do not repeat questions that have already been asked.
0 commit comments