Viewing File: /home/ubuntu/codegamaai-test/efimarket_bot/src/constants.py

import os
#openai
APIKEY = "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"
os.environ["OPENAI_API_KEY"] = APIKEY

#s3
ACCESS_KEY = "AKIARO7Q7P5JRUGAZQ7I"
SECRET_KEY = "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"
REGION_NAME = "ap-south-1"
bucket_name = 'chat-bot-raw-data'
#google
json_credentials_path = './haive-pjt-b1cb9b745889.json'
#haive backend

redis_context_memory_URL = "https://freshchat-api.haive.online/api/user/histories"
status_update = "https://freshchat-api.haive.online/api/user/fine_tune_models/status"

Faq_status = "https://freshchat-api.haive.online/api/user/chat_message_faqs/status"

contact_save= "https://freshchat-api.haive.online/api/user/contacts_save"
get_contact = "https://freshchat-api.haive.online/api/user/contacts"

conversation_status = "https://freshchat-api.haive.online/api/user/conversational_data/status"


gpt_model = "gpt-4"

#mongo
host = '164.52.201.214'
port = 28570
username = 'rbrstemq'
password = 'A7P6H9AB'
auth_db = 'admin'
db_name = "Haive"
user_config_collection = "user_config"

#qdrant
# qdrant_url = "http://127.0.0.1"
qdrant_url = "http://164.52.201.214:6333/"
# Create ENV Variables of Paths

support_bot_dir = os.getcwd()
src_dir = os.path.join(support_bot_dir, "src")
db_dir = os.path.join(support_bot_dir, "Local_DB")


# Create Environment Variables
os.environ['SUPPORT_BOT_DIR'] = support_bot_dir
os.environ['SRC_DIR'] = src_dir
os.environ['DB_DIR'] = db_dir

#openai
APIKEY = "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"
os.environ["OPENAI_API_KEY"] = APIKEY
Back to Directory File Manager