Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cunkz/chat-with-ai
Website to chat with AI based on chatgpt website
https://github.com/cunkz/chat-with-ai
ai chatgpt nextjs nodejs nvidia nvidia-nim openai
Last synced: 30 days ago
JSON representation
Website to chat with AI based on chatgpt website
- Host: GitHub
- URL: https://github.com/cunkz/chat-with-ai
- Owner: cunkz
- Created: 2024-11-11T04:10:27.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-11-11T07:15:16.000Z (3 months ago)
- Last Synced: 2024-11-11T08:20:14.012Z (3 months ago)
- Topics: ai, chatgpt, nextjs, nodejs, nvidia, nvidia-nim, openai
- Language: JavaScript
- Homepage:
- Size: 241 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![logo](./chat-with-ai.png)
## Getting Started
First, set your API key for OpenAI or NVIDIA by create `.env.local` file
```bash
OPENAI_API_KEY=
NVIDIA_API_KEY=```
If you didn't have API key yet, you can follow this instructions :
- [OpenAI](https://platform.openai.com/docs/quickstart/developer-quickstart#create-and-export-an-api-key)
- [NVIDIA](https://docs.nvidia.com/nim/large-language-models/latest/getting-started.html#generate-an-api-key)Second, run the development server:
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.