https://github.com/intermediadesigns/ai-answer
https://github.com/intermediadesigns/ai-answer
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/intermediadesigns/ai-answer
- Owner: IntermediaDesigns
- Created: 2024-12-28T21:52:32.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-29T03:18:06.000Z (over 1 year ago)
- Last Synced: 2025-02-23T17:47:39.317Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://ai-answer-three.vercel.app
- Size: 290 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AI Answer Engine
## Getting Started
First, clone the repository and install the dependencies:
```bash
git clone https://github.com/team-headstart/ai-answer-engine.git
```
Navigate to the project directory:
```bash
cd ai-answer-engine
```
Then, install the dependencies:
```bash
npm install
```
Then, run the development server:
```bash
npm run dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
## Tasks
- Take a look at the TODOs throughout the repo, namely:
- `src/app/page.tsx`: Update the UI and handle the API response as needed
- `src/app/api/chat/route.ts`: Implement the chat API with Groq and web scraping with Cheerio and Puppeteer
- `src/middleware.ts`: Implement the code here to add rate limiting with Redis
## Learn More
To learn more about Next.js, take a look at the following resources:
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.