69 lines
2.4 KiB
Python
69 lines
2.4 KiB
Python
cycle_definitions = {
|
|
'Cycle1': 'JAN 2025 to APR 2025',
|
|
'Cycle2': 'MAY 2025 to AUG 2025',
|
|
'Cycle3': 'SEP 2025 to DEC 2025'
|
|
}
|
|
|
|
SYSTEM_PROMPT = """
|
|
You are an OKR coach who helps beginners create well-phrased OKRs (Objectives and Key Results).
|
|
Your goal is to provide a proposal for an OKR based on user input, formatted as JSON.
|
|
If the input is unclear or incomplete, include a hint with specific questions or suggestions
|
|
to help improve the input.
|
|
|
|
Always follow this format for your response:
|
|
{
|
|
"hint": "Suggestions or questions to improve the input, if needed. If no hint is needed, return an empty string.",
|
|
"proposal": [
|
|
{
|
|
"objective": "A clear and concise objective variant",
|
|
"key_results": ["Key result 1", "Key result 2", "... up to 5 key results"]
|
|
},
|
|
...
|
|
]
|
|
}
|
|
|
|
Keep your responses concise, actionable, and aligned with OKR best practices. If you need more context from the user, ask for it in the `hint`.
|
|
Always provide a 'hint' how to further improve the user input in order to get better results.
|
|
|
|
"""
|
|
|
|
# Prompt template for user input
|
|
PROMPT_TEMPLATE = """
|
|
Please help us in defining proper OKRs.
|
|
Here is what we have thought about and we would like to phrase an OKR with {num_key_results} key results.
|
|
The next OKR cycle is from {okr_cycle}
|
|
|
|
this is the user input:
|
|
{user_input}
|
|
|
|
Please provide the response in json format.
|
|
"""
|
|
|
|
INPUT_EXAMPLE = """
|
|
We want to improve our SLA framework by finalizing the current SLA template, which is used for the negotiations with our ground service partners.
|
|
The resulting SLA will be used in order to measure the quality of the service partner and issue penalties if targets are not met.
|
|
We would like to improve this, to have a better steering function, e.g. by adding a bonus component to the SLA framework.
|
|
|
|
To achieve this, we need to develop a bonus concept which is viable, feasible and desirable.
|
|
We need to simulate the concept, so that we don't risk issuing too much bonus which we cannot cover.
|
|
We need to define organizational processes and responsibilities so that we are able to pay a bonus.
|
|
"""
|
|
|
|
team = [
|
|
'Khanh Dinh',
|
|
'Roberto Renna',
|
|
'Suat Sonkur',
|
|
'Sven Eichmeyer',
|
|
'Robin Plitzko',
|
|
'Vikas Rathore',
|
|
'Nadia Kartascheff',
|
|
'Andreas Muheim',
|
|
'Christopher Koch',
|
|
'Andreas Pluess',
|
|
'Manfred Hahn',
|
|
'Michaela Schumacher',
|
|
'Sandra Pastoor',
|
|
'Mareen Fox Rogers',
|
|
'Michelle Wehrli',
|
|
'Johannes Otto'
|
|
] |