2/8/2024 0 Comments Free shift work schedule maker![]() You can see the Python code generated by ChatGPT-4 (with some formatting help and a minor edit from me - and in the end I just wrote the Sunday code. If each employee has S shifts, and J has S - 1 shifts, we have: S*10 + (S-1) = 60 => S*11 = 59 => S = 5.36īut "J" does have the least amount of shifts, at least. The condition of "Each person will equal number of total shifts" is not really possible here, as there are 60 shifts and 11 employees. With the following total number of shifts per person: Employee Here's the schedule created by the program: Date Or get ChatGPT to update it for the rules in another month. The benefit of generating a program to solve the issue, is that you can then apply it to another month more easily. I think I found a solution that works by having ChatGPT generate a Python program to solve the problem. What am I doing wrong? I tried dividing it into 3 prompts. The next common error was regarding the leaves. The common error was it could not assing A and B to only evening shifts and C and D to only morning shifts. No shifts for people on leave for specific days as mentioned Sunday shift in the order of J, I, K, H, G, F, E, D, C, A, B The same person should not have two shifts together on the same day or next day Each day has two shifts - Morning shift and Evening ShiftĮach person will equal number of total shifts except one shift less for J this month The 11 are A, B, C, D, E, F, G, H, I, J, Kġ. Hello, can you create a shift schedule with day of the week for 11 employees from April 1 to April 30, 2023. I used the following prompt in ChatGPT 3.5 This is not the place to discuss the merits of Trump's foreign policy or Hunter Biden’s laptop. Discussion of the politics around AI and LLMs is allowed. Having ChatGPT create political content is completely fine. Find or establish a relative subreddit for that service. They may not be solely focused on advertising a single other LLM service. Posts must be directly related to ChatGPT or the topic of LLMs. Specifically mentioning that “Is chat GPT down posts?” will be removed. ![]() ![]() Users are encouraged to report posts they feel are of significantly low effort. Posts deemed to be entirely without value or effort may be removed if they have not generated interesting discussions before their discovery. Avoid presenting misinformation as factual. Avoid straw-manning and bad-faith interpretations. ![]() Treat other users the way you want to be treated. Posters and commenters are expected to act in good faith. All users are encouraged to report posts to the moderators for review. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |