You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
digitaltwinprogrammer-ai b9e2378d39 initial commit 3 months ago
..
docs initial commit 3 months ago
requirements initial commit 3 months ago
scratch initial commit 3 months ago
src initial commit 3 months ago
tests initial commit 3 months ago
.dockerignore initial commit 3 months ago
.editorconfig initial commit 3 months ago
.gitattributes initial commit 3 months ago
.gitignore initial commit 3 months ago
.pre-commit-config.yaml initial commit 3 months ago
.python-version initial commit 3 months ago
Dockerfile initial commit 3 months ago
Jenkinsfile initial commit 3 months ago
Makefile initial commit 3 months ago
README.md initial commit 3 months ago
config.yaml initial commit 3 months ago
docker-compose.yaml initial commit 3 months ago
docker-kong.yml initial commit 3 months ago
docker_build_push.sh initial commit 3 months ago
kong.yml initial commit 3 months ago
poetry.lock initial commit 3 months ago
pyproject.toml initial commit 3 months ago
requirements.txt initial commit 3 months ago
run.py initial commit 3 months ago

README.md

I-RCFA Service

Debug Export

Debug snapshots are generated to help troubleshoot LLM interactions. By default, debug snapshots are disabled in all environments.

Enabling Debug Export

To enable debug export in development environment only, set the ENABLE_DEBUG_EXPORT environment variable:

Docker Compose:

environment:
  - ENABLE_DEBUG_EXPORT=true

Shell/Terminal:

export ENABLE_DEBUG_EXPORT=true

.env file:

ENABLE_DEBUG_EXPORT=true

Debug Snapshot Location

When enabled, debug snapshots are saved to debug/chat_debug_<timestamp>.md with detailed information about:

  • Conversation metadata
  • LLM configuration
  • Input/output messages
  • Function call results
  • Retrieved context documents

Production Deployment

For production environments, ensure ENABLE_DEBUG_EXPORT is not set or set to false to prevent unnecessary file generation and potential disk space issues.