Skip to content

Odeal-Hackathon/PromoPilot

Repository files navigation

PromoPilot - GEN AI CHATBOT

This application was developed as part of the Ödeal GPT Hackathon. It's a generative AI-based chatbot designed to offer customers special campaigns and promotions. You send your message by choosing the member business ID or general category. A customized response is then returned.

Technologies Used

The main technologies utilized:


Requirements

Environment

Ensure that your Python version is set to 3.11:

python --version
  • Setting up Virtualenv:
pip install virtualenv
  • Creating a Virtual Environment:
virtualenv venv
  • Activating the Virtual Environment:
source venv/bin/activate
  • Installing the necessary libraries:
pip install -r requirements.txt

Configuration

Set up your .env file:

cd <project-directory>

Add environment variables to the touch .env file.

  • Then, add the following environment variables into the .env file:
API_KEY=<apikey>
REST_ENDPOINT=<endpoint>
SECRET_KEY=<asıri-gizli-bisi>

DATABASE_URL=postgresql://postgres:postgres@localhost/postgres

# Azure Cosmos DB
COSMOS_DATABASE=db
COSMOS_CONTAINER=container
COSMOS_ENDPOINT=endpoint
COSMOS_KEY=key

# Azure Cognitive Search
CS_API_BASE=cognitive-search.search.windows.net
CS_API_KEY=key

OPENAI_API_KEY=key
AZURE_API_BASE=azure

Server Settings

  • Building the Docker Image:
docker build -t promopilot:latest .
  • Launching the Docker Container:
docker run -p 5001:5001 promopilot:latest

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published