Environment Variables

Table 1 Environment variables

Environment Variable

Description

PATH

Path of the executable program.

LD_LIBRARY_PATH

Path of the dynamic link library.

PYTHONPATH

Default search path of the Python module file.

HOME

Home directory of the current user.

PWD

Current system path.

TMPDIR

Temporary file path.

LANG

Language environment.

RAG_SDK_HOME

RAG SDK working path.

ATB_LOG_TO_STDOUT

If this variable is set to 1, the operator acceleration log is recorded in the standard output.

ATB_LOG_TO_FILE

If this variable is set to 1, the operator acceleration log is recorded in the file.

ATB_LOG_LEVEL

Operator acceleration log level, which can be TRACE, DEBUG, INFO, WARN, ERROR, or FATAL.

ENABLE_BOOST

Whether to activate inference acceleration for vector models. The value can be True or False.

DISABLE_RAGS_LOGGING

If this variable is set to 0, ragas logging is enabled. By default, this feature is disabled.

RAGAS_DO_NOT_TRACK

Whether to upload the RAGAS report to the remote website. The value is fixed to true for RAG SDK, indicating that the report is not uploaded to the remote website.

HF_HUB_OFFLINE

Whether to load only offline files when loading weights. The value is fixed to 1 for RAG SDK, indicating that only offline weight files can be loaded.

HF_DATASETS_OFFLINE

Whether to load offline data from Hugging Face. The value is fixed to 1 for RAG SDK, indicating that only offline datasets can be loaded.

AUTO_DOWNLOAD_NLTK

Whether to automatically download the NLTK tokenizer when a markdown document is parsed for the first time. The value is fixed to false for RAG SDK, indicating that the NLTK tokenizer is not automatically downloaded.

For service data security, do not set RAGAS_DO_NOT_TRACK, HF_HUB_OFFLINE, HF_DATASETS_OFFLINE, and AUTO_DOWNLOAD_NLTK.