Spaces:
Sleeping
Sleeping
topics_list = [ | |
"Arrays", | |
"Strings", | |
"Linked Lists", | |
"Hash Tables", | |
"Dynamic Programming", | |
"Trees", | |
"Graphs", | |
"Sorting Algorithms", | |
"Binary Search", | |
"Recursion", | |
"Greedy Algorithms", | |
"Stack", | |
"Queue", | |
"Heaps", | |
"Depth-First Search (DFS)", | |
"Breadth-First Search (BFS)", | |
"Backtracking", | |
"Bit Manipulation", | |
"Binary Search Trees", | |
"Tries", | |
] | |
models = ["gpt-3.5-turbo"] | |
# TODO: add more OAI models | |
# TODO: add more OS models | |
fixed_messages = { | |
"intro": "Welcome to the coding interview! I am your AI interview assistant. For the start select the difficulty and topic of the problem you would like to solve. Then click on the 'Generate a problem' button. Good luck!", | |
"start": ( | |
"Please take a moment to read the problem statement. Then you can share you initial thoughts and ask any questions you may have. " | |
"Please use the record button to communicate with me. Try to think out loud and record all you comments and questions as if it is the real interview." | |
), | |
"end": "The interview has concluded. Thank you for your participation! In a moment I will provide a detailed feedback on your performance.", | |
"error": "An error occurred. Please try again.", | |
} | |