This project is a conversational chatbot interface that replicates the functionalities of OpenAI's ChatGPT, allowing users to engage in interactive dialogues with an AI assistant. Built using Python and Streamlit, the application supports both GPT-3.5-Turbo and GPT-4 models, providing flexibility and access to advanced language understanding capabilities. The interface is designed to be user-friendly, with features that include conversation history management, multiple chat sessions, and customizable settings.
Features
- Multiple Model Support: Users can choose between GPT-3.5-Turbo and GPT-4 models for their conversations, selecting the one that best fits their needs
- Interactive User Interface: The application features a modern and intuitive UI built with Streamlit, including custom styling for an enhanced user experience
- Conversation History: The chatbot retains conversation history, allowing users to view past interactions and maintain context across sessions
- Session Management: Users can start new chats, clear previous conversations, and manage multiple chat sessions, each with its own history
- API Key Input: Securely input your OpenAI API key directly within the application to enable functionality.
- Customizable Settings: Adjust settings such as the AI assistant's role and the model's temperature to influence response creativity and style
Tools and Technologies Used:
- Python
- Streamlit
- OpenAI API
- Session State Management
- Custom CSS Styling
View on GitHub