Make sure your .env file is NOT uploaded (it's in .gitignore for protection).
Create these files in your project folder:
your-project-folder/
├── Assignment.ipynb # Your existing notebook
├── README.md # Copy from the artifact above
├── requirements.txt # Copy from the artifact above
├── .gitignore # Copy from the artifact above
└── .env # Your API keys (KEEP LOCAL ONLY)
- Go to GitHub.com
- Click "New" or "+" in the top right
- Choose "New repository"
- Fill in details:
- Repository name:
ai-travel-agent(or your preferred name) - Description:
AI Travel Agent & Expense Planner with LangChain and OpenAI - ✅ Public (so you can share it in the form)
- ✅ Add a README file (we'll replace it)
- ❌ Don't add .gitignore (we have our own)
- Repository name:
- Click "Create repository"
- Go to your new repository on GitHub
- Click "uploading an existing file"
- Drag and drop ALL files EXCEPT
.env:Assignment.ipynbREADME.mdrequirements.txt.gitignore
- Add commit message:
Initial commit: AI Travel Agent implementation - Click "Commit changes"
- Click "Add file" → "Create new file"
- For each file:
- Name it correctly (e.g.,
README.md) - Copy-paste the content from artifacts above
- Click "Commit new file"
- Name it correctly (e.g.,
- Click "Add file" → "Upload files"
- Drag your
Assignment.ipynbfile - Commit with message:
Add travel agent notebook implementation
Your repository should now have:
- ✅
README.md- Project description - ✅
requirements.txt- Dependencies - ✅
Assignment.ipynb- Your notebook - ✅
.gitignore- Protection for sensitive files - ❌
.env- Should NOT be visible (protected by .gitignore)
Copy your repository URL. It will look like:
https://github.com/your-username/ai-travel-agent
Use this link in the assignment submission form: https://forms.gle/g8RZ4qx8yvNcih4B7
Before submitting, verify:
- No
.envfile visible in repository - No API keys visible in any files
-
.gitignoreis present and working - README explains how to set up API keys
- All features work as demonstrated
If you prefer using Git commands:
# Navigate to your project folder
cd your-project-folder
# Initialize git
git init
# Add all files (except those in .gitignore)
git add .
# Commit
git commit -m "Initial commit: AI Travel Agent implementation"
# Add remote (replace with your repository URL)
git remote add origin https://github.com/your-username/ai-travel-agent.git
# Push to GitHub
git push -u origin mainYour AI Travel Agent is now live on GitHub and ready for submission!
Remember to test that others can:
- Clone your repository
- Set up their own API keys in
.env - Run your notebook successfully
Need help? Create an issue in your repository or ask for assistance! 🚀