Skip to content

Rizinkovic/ai_chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is a simple AI Chatbot built using HTML, CSS, and JavaScript, with AI capabilities powered by the Google Gemini Free API. To create your own prototype, you will need to obtain your own Google Gemini API key from Google's API platform. Note that the free API has a limit of 1000 prompts per day, so use precise and concise prompts for optimal performance. This is a demo project, with ongoing improvements planned for the future. Feel free to contact me via the social media links in the footer for feedback or inquiries.

I don't have access to any previous "getting started" message I may have sent, as I don't retain conversation history unless explicitly referenced. Could you clarify what you mean by "getting started" or provide more details about the context (e.g., was it related to setting up the AI Chatbot project, using the Google Gemini API, or something else)? For now, based on your recent request about the GitHub README for your AI Chatbot, I can provide a "Getting Started" section for that project. Here's an example: markdown

Getting Started

To set up and run this AI Chatbot project locally, follow these steps:

  1. Clone the Repository:
    git clone https://github.com/your-username/your-repo-name.git
    cd your-repo-name

Obtain a Google Gemini API Key: Visit Google's AI Platform to sign up and generate your own Google Gemini API key. Save the API key securely, as it will be needed for the chatbot to function. Configure the API Key: Create a .env file in the project root or update the configuration file (e.g., config.js) with your Google Gemini API key. Example: javascript const GEMINI_API_KEY = 'your-api-key-here'; Set Up a Local Server: Since this project uses HTML, CSS, and JavaScript, you can serve it locally using a simple server. For example, with Node.js: bash npm install -g http-server http-server . Alternatively, open index.html directly in a browser, but note that some features may require a server due to CORS restrictions. Run the Application: Open your browser and navigate to http://localhost:8080 (or the port specified by your server). Start interacting with the chatbot! Keep prompts concise, as the free Google Gemini API is limited to 1000 prompts per day. Troubleshooting: Ensure your API key is valid and correctly configured. Check the browser console for any errors related to API calls or JavaScript. For further details or to contribute, check the About (#about) section or reach out via the social media links in the footer or through my email at rsongrichard@gmail.com.

About

An AI chatbot made using HTML,CSS, Javascript & Google's Gemini free API.

Topics

Resources

Stars

Watchers

Forks