NGS Generative AI is a React-based application for generating creative and contextual AI content using prompts. Built with modern tools like React and Axios, it provides an interactive user interface for seamless text generation.
AI-Powered Text Generation: Generate content by entering a prompt. Responsive UI: Clean and user-friendly interface. Error Handling: Displays error messages for failed requests. Real-Time Updates: Dynamically updates results based on input prompts.
React: Frontend framework for building the UI. Axios: For handling API requests to the server. TailwindCSS: For styling the UI components. Installation
Clone the repository: bash Copy code git clone https://github.com/your-username/NGS-Generative-AI.git cd NGS-Generative-AI Install dependencies:
bash Copy code npm install Start the development server:
bash Copy code npm start Ensure the backend /api/generate endpoint is properly set up to handle requests.
Enter a prompt in the text area.
Click the "Generate" button to generate AI content.
View the generated content in the list below.
Folder Structure
scss
Copy code
src
βββ components
β βββ GoogleAi.js // Main component for the application
βββ App.js // Entry point for the React app
βββ index.js // ReactDOM rendering logic
βββ styles // TailwindCSS styles
This app requires a backend server with a /api/generate endpoint to process prompts and return AI-generated content. You can set up a Node.js/Express server or connect to any suitable API.
Contributions are welcome! Please open an issue or submit a pull request with your changes.
##License This project is licensed under the MIT License.