sql y fastapi

This commit is contained in:
Your Name
2025-02-07 23:21:09 +01:00
parent 85228eeda9
commit 8e0faee3dd
14 changed files with 120 additions and 53 deletions

View File

@ -12,7 +12,7 @@ logging.basicConfig(
)
# Obtener variables de entorno
OLLAMA_URL = os.environ.get("OLLAMA_URL", "http://localhost:11434/api/generate")
OLLAMA_URL = os.environ.get("OLLAMA_URL", "http://host.docker.internal:11434/api/generate")
OLLAMA_MODEL = os.environ.get("OLLAMA_MODEL", "llama3")
def is_security_related(prompt):