An open API service indexing awesome lists of open source software.

https://github.com/svaveop/aichat

Two AIs: Vixby, which guesses your responses without using AI, and a regular ChatGPT via API.
https://github.com/svaveop/aichat

ai chatbot chatgpt css html javsascript js vixby

Last synced: 3 months ago
JSON representation

Two AIs: Vixby, which guesses your responses without using AI, and a regular ChatGPT via API.

Awesome Lists containing this project

README

          

# AIChat

AIChat lets you interact with two AI personalities:
- **Vixby** - guesses your responses without using AI.
- **ChatGPT** - uses AI via OpenRouter API to give intelligent replies.

---

## Setup of ChatGPT

1. Get your **OpenRouter API key** by signing up at [OpenRouter](https://openrouter.ai).
2. Choose the **model name** you want to use (e.g., `gpt-4o-mini`).
3. Open `gpt.js` and go to **lines 33–34**:

```javascript
const apiKey = 'API here';
const response = await fetch("Model name", {
// ...
});
```
4. Replace 'API here' with your API key and "Model name" with your chosen model.
5. Save the file. Run the project - ChatGPT will now respond using your key.

## Run

- **Node.js:**
```bash
node gpt.js
```
- **Browser:**

 Open index.html in your browser. Make sure your API key and model are set in gpt.js before running.

## Videos & Photos
https://portfolio.am.tumo.world/project/68781d73bde84ac72aa7253e

## License
This project is licensed under the MIT License.