Skip to content
/ AIChat Public

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

License

Notifications You must be signed in to change notification settings

Svaveop/AIChat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.
  2. Choose the model name you want to use (e.g., gpt-4o-mini).
  3. Open gpt.js and go to lines 33–34:
const apiKey = 'API here';
const response = await fetch("Model name", {
  // ...
});
  1. Replace 'API here' with your API key and "Model name" with your chosen model.
  2. Save the file. Run the project - ChatGPT will now respond using your key.

Run

  • Node.js:
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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published