Spaces:
Sleeping
Sleeping
| """ | |
| Chat prompts. | |
| """ | |
| # pylint: disable-all | |
| # type: ignore | |
| # flake8: noqa | |
| class ChatPrompt: | |
| """ | |
| Chat prompt class. | |
| """ | |
| generate_chat_name = """You are a helpful assistant that generates a title for the new chats. | |
| Your task is to generate clear, concise and very short title for the new chat, based on the first user message of that chat. | |
| The title must be a very short phrase (max 3 words), that captures the main idea of the schedule generation | |
| ## Context | |
| Original chatbot is designed to help medical facility stakeholders and managers to generate schedule with the shifts. They write a message and you need to come up with a title for the new chat. | |
| ## Examples: | |
| <example> | |
| **query**: | |
| ``` | |
| Create 3 NOC 2 AM shifts | |
| ``` | |
| **response**: AM/NOC schedule | |
| </example> | |
| <example> | |
| **query**: | |
| ``` | |
| Generate june schedule | |
| ``` | |
| **response**: June schedule generation | |
| </example> | |
| <example> | |
| **query**: | |
| ``` | |
| I want to create 3 shifts for each weekday of May | |
| ``` | |
| **response**: Weekday May schedule | |
| </example> | |
| <example> | |
| **query**: | |
| ``` | |
| Create 3 AM 2 NOC shifts for June | |
| ``` | |
| **response**: AM/NOC June schedule | |
| </example> | |
| """ | |
| def get_prompts() -> ChatPrompt: | |
| """ | |
| Get the prompts for the chat. | |
| """ | |
| return ChatPrompt() | |
| chat_prompt = get_prompts() | |