This template provides a starting point for building a chat application that integrates with Azure OpenAI. The app allows users to interact with an AI chatbot, and it includes a customizable Settings popup for users to input their Azure OpenAI API details.
- Chat with an AI Assistant: Users can send and receive messages with an AI assistant.
- Customizable API Settings: Users can configure their Azure OpenAI API details using the "Settings" popup.
-
Clone the Repository:
git clone https://github.com/akashchaudhary-git/react-js-azure-openai-chat-app.git cd react-js-azure-openai-chat-app
-
Install Dependencies:
npm install
-
Run the App:
npm run dev
Check out the live demo at https://react-js-aoi.onrender.com/.
To integrate the app with your Azure OpenAI resource:
Configure API Settings:
- Click the "Settings" gear icon.
- Enter your Azure OpenAI API URL and API Key.
- Click "Save" to apply the changes.
Start Chatting:
- Type your message in the input field and click "Send" to chat with the AI assistant.
Feel free to customize the app based on your specific requirements. The structure is designed to be modular, making it easy to add new features or modify existing ones.