1.Explain the function and purpose of this project based on the source code in the GitHub repository.
2.Generate the page like this picture using HTML and CSS.
3.Create a chatbot similar to ChatGPT, mimicking its style and functionality. The chatbot should use OpenAI API, specifically the "gpt-4o" model from OpenAI. It should also have a feature to record conversation history, with the history displayed in a left-hand sidebar. Choose the most suitable UI framework for the interface, and use a lightweight Python framework for the backend.