Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/megh2005/sampark-ai

An AI chatbot made with Gemini Pro API and node js using Vite
https://github.com/megh2005/sampark-ai

gemini-api gemini-pro node-js tailwindcss vite

Last synced: about 2 months ago
JSON representation

An AI chatbot made with Gemini Pro API and node js using Vite

Awesome Lists containing this project

README

        

# :robot: Sampark AI

## :notebook_with_decorative_cover: Overview

**Sampark is an artificial intelligence enabled chat application which is controlled by Google **Gemini** {Pro} API. Integration of a gemini pro api key sllows you to generate response from Gemini directly. In **Sampark** you need to enter your question in the given space and hit the **`Generate Response`** button. The Gemini AI model will generate the most precised and to the point answers for you.**

## :gear: Environment Variables
```.env
AI_GENERATIVE = < Your API Key >
```
## :wrench: Setting Up Gemini API Key
**`Step - 1`**

**To generate your Gemini API key you need to go to Google AI studio by clicking   _[here](https://ai.google.dev/aistudio)_   and create an account or sign in with an existing Google account**

**`Step - 2`**

**After sign up go to `Get Your API Key` and it will redirect you to Gemini API platform. There you need to check some terms and conditions. After that click `Get Started`**

**`Step - 3`**

**Now click on _Create API Key_ from there click the `Generate API Key in New Project` section. After that the console will generate a Gemini API key for you. Just copy that API key and keep it pasted in a safe place**

## :warning: Statutary Warning
**Use your API keys securely. Do not share them or embed them in code the public can view. Just add it to a environment variavle in a `.env` file and don't forget to add a `.gitignore` to that env file. While deploying it at vercel or netlify the just go to the set environment variables tab and set your env variable name and value.**

## :floppy_disk: Installation

> Clone This Repository

```sh
git clone https://github.com/Megh2005/Sampark-AI.git
```

> Navigate To The Code File

```sh
cd Sampark-AI
```

> Install All Dependencies

```sh
npm install
```

> Open With Code

```sh
code .
```

> Run The Project

```sh
npm run dev
```

> Project URL

```sh
http://localhost:5173
```

## :inbox_tray: Contribution & Issues
**I am not so good at frontend. I have coded a very basic CSS and requesting all frontend developers to contribute an attractive frontend. If you have any ideas for improvements & new features, feel free to open an issue or submit a pull request :**
> Fork The Repository
```sh
git remote -v https://github.com/Megh2005/Sampark-AI.git
```
> Create New Branch
```sh
git checkout -b feature/your-feature
```
> Commit Your Changes
```sh
git commit -m "Add your feature"
```
> Push To The Branch
```sh
git push origin feature/your-feature
```
> Submit a pull request
```sh
git pull-request [username] [branch]
```

## :computer: Tech Stack
[![My Skills](https://skillicons.dev/icons?i=vite&theme=dark)](https://sampark-murex.vercel.app/)
 
[![My Skills](https://skillicons.dev/icons?i=nodejs&theme=dark)](https://sampark-murex.vercel.app/)
 
[![My Skills](https://skillicons.dev/icons?i=tailwind&theme=dark)](https://sampark-murex.vercel.app/)
 
[![My Skills](https://skillicons.dev/icons?i=git&theme=dark)](https://sampark-murex.vercel.app/)
 
[![My Skills](https://skillicons.dev/icons?i=github&theme=dark)](https://sampark-murex.vercel.app/)
 
[![My Skills](https://skillicons.dev/icons?i=md&theme=dark)](https://sampark-murex.vercel.app/)
 

## :link: Deployment
[![My Skills](https://skillicons.dev/icons?i=vercel&theme=dark)](https://sampark-murex.vercel.app/)
 
[![My Skills](https://skillicons.dev/icons?i=netlify&theme=dark)](https://sampark-ai.netlify.app/)
 
[![My Skills](https://skillicons.dev/icons?i=github&theme=dark)](https://github.com/Megh2005/Sampark-AI/)
 
[![My Skills](https://skillicons.dev/icons?i=ubuntu&theme=dark)](https://tinyurl.com/sampark-demo/)

**_Please dont forget to visit my GitHub repository and please hit a :star: in the GitHub repository_**