Skip to content

Commit fd48976

Browse files
committed
feat: update initial prompts
1 parent 67cb9e0 commit fd48976

File tree

2 files changed

+17
-18
lines changed

2 files changed

+17
-18
lines changed

app/backend/approaches/prompts/chat_answer_question.prompty

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,35 +4,34 @@ description: Answer a question (with chat history) using solely text sources.
44
model:
55
api: chat
66
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?
88
include_follow_up_questions: true
99
past_messages:
1010
- role: user
11-
content: "What does a CEO do?"
11+
content: "How do I deploy my application to Kubernetes using ArgoCD?"
1212
- 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]"
1414
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."
1817
---
1918
system:
2019
{% if override_prompt %}
2120
{{ override_prompt }}
2221
{% 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.
2423
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.
2524
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].
2726
{{ injected_prompt }}
2827
{% endif %}
2928

3029
{% if include_follow_up_questions %}
3130
Generate 3 very brief follow-up questions that the user would likely ask next.
3231
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?>>
3635
Do not repeat questions that have already been asked.
3736
Make sure the last question ends with ">>".
3837
{% endif %}

app/backend/approaches/prompts/chat_query_rewrite.prompty

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ model:
66
parameters:
77
tools: ${file:chat_query_rewrite_tools.json}
88
sample:
9-
user_query: Does it include hearing?
9+
user_query: How do I configure the replica count in Helm?
1010
past_messages:
1111
- 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?"
1313
- 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]"
1515
---
1616
system:
1717
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
2424
If you cannot generate a search query, return just the number 0.
2525

2626
user:
27-
(EXAMPLE) How did crypto do last year?
27+
(EXAMPLE) How do I configure the replica count in Helm?
2828

2929
assistant:
30-
Summarize Cryptocurrency Market Dynamics from last year
30+
Configure replica count in Helm chart
3131

3232
user:
33-
(EXAMPLE) What are my health plans?
33+
(EXAMPLE) How do I deploy my application to Kubernetes using ArgoCD?
3434

3535
assistant:
36-
Show available health plans
36+
Deploy application to Kubernetes using ArgoCD
3737

3838
{% for message in past_messages %}
3939
{{ message["role"] }}:

0 commit comments

Comments
 (0)