Skip to content

taneeshkaushik/Talking_AI_Agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Website AI Assistant

This is an AI-powered chatbot that can be integrated into any website to provide intelligent responses to user queries about the website.

Features

  • Real-time chat interface
  • Powered by OpenAI's GPT-3.5
  • Customizable website context
  • Modern and responsive UI
  • Easy to integrate

Setup

  1. Clone this repository

  2. Install the required dependencies:

    pip install -r requirements.txt
  3. Create a .env file in the root directory and add your OpenAI API key:

    OPENAI_API_KEY=your_api_key_here
    
  4. Start the backend server:

    cd Backend
    python main.py
  5. Open the Frontend/index.html file in a web browser or serve it using a web server.

Customization

  1. To customize the website context, modify the websiteContext variable in Frontend/index.html
  2. To change the appearance, modify the CSS in the <style> section of Frontend/index.html
  3. To adjust the AI model parameters, modify the settings in Backend/main.py

Security Notes

  • In production, update the CORS settings in Backend/main.py to only allow requests from your website domain
  • Keep your OpenAI API key secure and never expose it in the frontend code
  • Consider implementing rate limiting and user authentication for production use

License

MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published