Skip to content

Interactive chatbot application that simulates OpenAI's ChatGPT

Notifications You must be signed in to change notification settings

anniezhang2288/codexx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Codex: A ChatGPT Clone

JavaScript React

Description

Codex is a sophisticated chatbot application that emulates the capabilities of OpenAI's ChatGPT, leveraging the GPT-3 model API for intelligent and context-aware conversations. Built with React and JavaScript, this application offers a dynamic and responsive user interface, providing users with an engaging and interactive conversational experience.

Features

  • Integration with OpenAI's GPT-3: Utilizes the powerful GPT-3 model for generating accurate and contextually relevant responses.

  • React-Based Frontend: Developed using React, ensuring a responsive and state-of-the-art user interface.

  • Real-Time Interaction: Employs asynchronous JavaScript and React's state management to handle user inputs and display responses without reloading the page.

  • Dynamic Message Rendering: Features a unique typing effect for each message, enhancing the chatbot's human-like interaction.

  • Responsive UI Design: A clean and intuitive user interface that adapts to different screen sizes and devices.

  • Error Handling and Feedback: Robust error handling to inform users of any communication issues or internal errors.

CodeX-demo.1.mov

Technologies Used

  • React: For building a dynamic and responsive user interface.

  • JavaScript: Powers the core functionality, event handling, and DOM manipulation.

  • OpenAI's GPT-3 API: For processing and generating conversational responses.

  • SVG Graphics: Utilizes SVG images for user and bot avatars, contributing to a lightweight and visually appealing design.

  • HTML/CSS: For structuring and styling the application.

Installation and Setup

1. Clone the Repository: git clone [repository-url]

2. Navigate to Project Directory: cd [project-directory]

3. Install Dependencies: npm install (Node.js required)

4. Configure OpenAI API Key: Set your OpenAI API key in the application's configuration file.

5. Start the Application: npm start

6. Access the Application: Open localhost:3000 in your web browser.

Usage

  • Starting a Conversation: Type your message in the input field and press Enter or click the send button.

  • Viewing Responses: Watch the chatbot's responses appear dynamically with a typing animation.

  • Scrolling Through Chat: The chat window automatically scrolls to keep recent messages in view.

Contributing

Contributions are welcome! Whether it's bug fixes, feature additions, or documentation improvements, your help is appreciated. Please read our contributing guidelines for more information on submitting contributions effectively.

License

Codex is released under the MIT License. Feel free to use, modify, and distribute the code as per the license terms.


This README provides a comprehensive, impressive, and specific overview of the Codex chatbot application, highlighting its use of React, JavaScript, and OpenAI's GPT-3 model, making it suitable for a professional portfolio or resume.

About

Interactive chatbot application that simulates OpenAI's ChatGPT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published