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/chat_answer_question.prompty
+10-11Lines changed: 10 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -4,35 +4,34 @@ description: Answer a question (with chat history) using solely text sources.
4
4
model:
5
5
api: chat
6
6
sample:
7
-
user_query: What does a product manager do that a CEO doesn't?
7
+
user_query: How do I configure resource limits in Helm?
8
8
include_follow_up_questions: true
9
9
past_messages:
10
10
- role: user
11
-
content: "What does a CEO do?"
11
+
content: "How do I deploy my application to Kubernetes using ArgoCD?"
12
12
- role: assistant
13
-
content: "A CEO, or Chief Executive Officer, is responsible for providing strategic direction and oversight to a company to ensure its long-term success and profitability. They develop and implement strategies and objectives for financial success and growth, provide guidance to the executive team, manage day-to-day operations, ensure compliance with laws and regulations, develop and maintain relationships with stakeholders, monitor industry trends, and represent the company in public events 12. [role_library.pdf#page=1][role_library.pdf#page=3]"
13
+
content: "To deploy your application to Kubernetes using ArgoCD, you need to create an Application resource in ArgoCD that points to your Helm chart repository. [ArgoCD_Deployment_Guide.pdf#page=5]"
14
14
text_sources:
15
-
- "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."
16
-
- "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."
17
-
- "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."
15
+
- "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"
16
+
- "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."
18
17
---
19
18
system:
20
19
{% if override_prompt %}
21
20
{{ override_prompt }}
22
21
{% else %}
23
-
Assistant helps the company employees with their healthcare plan questions, and questions about the employee handbook. Be brief in your answers.
22
+
Assistant helps users with their technical documentation questions, especially related to deploying applications to Kubernetes using ArgoCD and Helm. Be brief in your answers.
24
23
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.
25
24
If the question is not in English, answer in the language used in the question.
26
-
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].
25
+
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 [helm_docs.pdf]. Don't combine sources, list each source separately, for example [helm_docs.pdf][k8s_deployment_guide.pdf].
27
26
{{ injected_prompt }}
28
27
{% endif %}
29
28
30
29
{% if include_follow_up_questions %}
31
30
Generate 3 very brief follow-up questions that the user would likely ask next.
32
31
Enclose the follow-up questions in double angle brackets. Example:
33
-
<<Are there exclusions for prescriptions?>>
34
-
<<Which pharmacies can be ordered from?>>
35
-
<<What is the limit for over-the-counter medication?>>
32
+
<<How do I configure resource limits in Helm?>>
33
+
<<What are the steps to set up ArgoCD?>>
34
+
<<Can I use Helm with ArgoCD for blue-green deployments?>>
36
35
Do not repeat questions that have already been asked.
Copy file name to clipboardExpand all lines: app/backend/approaches/prompts/chat_query_rewrite.prompty
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -6,12 +6,12 @@ model:
6
6
parameters:
7
7
tools: ${file:chat_query_rewrite_tools.json}
8
8
sample:
9
-
user_query: Does it include hearing?
9
+
user_query: How do I configure the replica count in Helm?
10
10
past_messages:
11
11
- role: user
12
-
content: "What is included in my Northwind Health Plus plan that is not in standard?"
12
+
content: "How do I deploy my application to Kubernetes using ArgoCD?"
13
13
- role: assistant
14
-
content: "The Northwind Health Plus plan includes coverage for emergency services, mental health and substance abuse coverage, and out-of-network services, which are not included in the Northwind Standard plan. [Benefit_Options.pdf#page=3]"
14
+
content: "To deploy your application to Kubernetes using ArgoCD, you need to create an Application resource in ArgoCD that points to your Helm chart repository. [ArgoCD_Deployment_Guide.pdf#page=5]"
15
15
---
16
16
system:
17
17
Below is a history of the conversation so far, and a new question asked by the user that needs to be answered by searching in a knowledge base.
@@ -24,16 +24,16 @@ If the question is not in English, translate the question to English before gene
24
24
If you cannot generate a search query, return just the number 0.
25
25
26
26
user:
27
-
(EXAMPLE) How did crypto do last year?
27
+
(EXAMPLE) How do I configure the replica count in Helm?
28
28
29
29
assistant:
30
-
Summarize Cryptocurrency Market Dynamics from last year
30
+
Configure replica count in Helm chart
31
31
32
32
user:
33
-
(EXAMPLE) What are my health plans?
33
+
(EXAMPLE) How do I deploy my application to Kubernetes using ArgoCD?
0 commit comments