Spaces:
Sleeping
Sleeping
File size: 939 Bytes
a4200f5 e7a8781 a4200f5 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
import os
from dotenv import load_dotenv
import redis
REDIS_CONNECTION = redis.Redis(
host="redis-13875.c240.us-east-1-3.ec2.redns.redis-cloud.com",
port=13875,
password="CWkHBok23bakpa9lRif3nGSk6y0baVPu",
ssl=False # Enable SSL for the connection
)
# IP_WEB_SERVER = "https://f564-196-65-150-53.ngrok-free.app"
# IP_MODEL_SERVER = "https://fluffy-mole-81.telebit.io"
IP_WEB_SERVER = "https://8bb5-196-65-147-132.ngrok-free.app"
IP_MODEL_SERVER = "https://auppqv-ip-196-65-147-132.tunnelmole.net"
EMBEDDING_MODELS_API = IP_MODEL_SERVER+"/models_&_sizes"
SERVICES_API = IP_WEB_SERVER+"/services/"
ADD_SERVICES_API = IP_WEB_SERVER+"/add_services"
CHUNK_STORE_API = IP_WEB_SERVER+"/chunk_and_store"
SEARCH_API = IP_WEB_SERVER+"/search"
DOCUMENT_API = IP_WEB_SERVER+"/documents"
REMOVE_DOCUMENT_API = IP_WEB_SERVER+"/remove_documents"
REMOVE_SERVICE_API = IP_WEB_SERVER+"/remove_service"
CHAT_API = IP_MODEL_SERVER+"/chat" |