This project demonstrates effective prompt engineering using advanced AI models, specifically focusing on guiding users through the application process and first-year experience at the Maritime Academy of Nigeria, Oron, Maritime Education and career. It includes a simple web interface and an Express server to handle AI interactions securely.
- Interactive Chat Interface: A user-friendly web interface for real-time interaction with the AI chatbot.
- Advanced Prompt Engineering: Examples of well-crafted prompts to guide the AI in generating detailed and relevant responses.
- Seamless Integration: Utilizes the Google Generative AI SDK for robust and scalable AI interactions.
- Server-Side Processing: Ensures API key security by handling requests on the server side.
- Frontend: HTML, CSS, JavaScript
- Backend: Node.js, Express
- AI Integration: Google Generative AI SDK
-
Clone the repository:
git clone https://github.com/clementnduonyi/manc.git cd manc
-
Install dependencies:
npm install
-
Set up environment variables:
- Create a
.env
file in the root directory. - Add your Google Generative AI API key:
GEMINI_API_KEY=your_api_key_here
- Create a
-
Start the server:
npm start
-
Open your browser:
- Navigate to
http://localhost:3000
to interact with the chatbot.
- Navigate to
- Type your message into the input box and click "Send" to interact with the AI chatbot.
- Observe how the AI responds to different prompts and refine them to improve responses.
- Fork the repository.
- Create a new branch (
git checkout -b feature/your-feature
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/your-feature
). - Open a pull request.
This project is licensed under the MIT License.