forked from NVIDIA/nv-ingest
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix broken links, table-fy environment variables (NVIDIA#418)
- Loading branch information
Showing
3 changed files
with
20 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
84 changes: 18 additions & 66 deletions
84
docs/docs/user-guide/developer-guide/environment-config.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,68 +1,20 @@ | ||
# Environment Configuration Variables | ||
|
||
|
||
- **`MESSAGE_CLIENT_HOST`**: | ||
|
||
- **Description**: Specifies the hostname or IP address of the message broker used for communication between | ||
services. | ||
- **Example**: `redis`, `localhost`, `192.168.1.10` | ||
|
||
- **`MESSAGE_CLIENT_PORT`**: | ||
|
||
- **Description**: Specifies the port number on which the message broker is listening. | ||
- **Example**: `7670`, `6379` | ||
|
||
- **`CAPTION_CLASSIFIER_GRPC_TRITON`**: | ||
|
||
- **Description**: The endpoint where the caption classifier model is hosted using gRPC for communication. This is | ||
used to send requests for caption classification. | ||
You must specify only ONE of an http or gRPC endpoint. If both are specified gRPC will take precedence. | ||
- **Example**: `triton:8001` | ||
|
||
- **`CAPTION_CLASSIFIER_MODEL_NAME`**: | ||
|
||
- **Description**: The name of the caption classifier model. | ||
- **Example**: `deberta_large` | ||
|
||
- **`REDIS_MORPHEUS_TASK_QUEUE`**: | ||
|
||
- **Description**: The name of the task queue in Redis where tasks are stored and processed. | ||
- **Example**: `morpheus_task_queue` | ||
|
||
- **`DOUGHNUT_TRITON_HOST`**: | ||
|
||
- **Description**: The hostname or IP address of the DOUGHNUT model service. | ||
- **Example**: `triton-doughnut` | ||
|
||
- **`DOUGHNUT_TRITON_PORT`**: | ||
|
||
- **Description**: The port number on which the DOUGHNUT model service is listening. | ||
- **Example**: `8001` | ||
|
||
- **`OTEL_EXPORTER_OTLP_ENDPOINT`**: | ||
|
||
- **Description**: The endpoint for the OpenTelemetry exporter, used for sending telemetry data. | ||
- **Example**: `http://otel-collector:4317` | ||
|
||
- **`NGC_API_KEY`**: | ||
|
||
- **Description**: An authorized NGC API key, used to interact with hosted NIMs and can be generated here: https://org.ngc.nvidia.com/setup/personal-keys. | ||
- **Example**: `nvapi-*************` | ||
|
||
- **`MINIO_BUCKET`**: | ||
|
||
- **Description**: Name of MinIO bucket, used to store image, table, and chart extractions. | ||
- **Example**: `nv-ingest` | ||
|
||
- **`INGEST_LOG_LEVEL`**: | ||
|
||
- **Description**: The log level for the ingest service, which controls the verbosity of the logging output. | ||
- **Example**: `DEBUG`, `INFO`, `WARNING`, `ERROR`, `CRITICAL` | ||
|
||
- **`NVIDIA_BUILD_API_KEY`**: | ||
- **Description**: This key is for when you are using the build.nvidia.com endpoint instead of a self hosted Deplot NIM. | ||
This is necessary only in some cases when it is different from `NGC_API_KEY`. If this is not specified, `NGC_API_KEY` is used for build.nvidia.com. | ||
|
||
- **`NIM_NGC_API_KEY`**: | ||
- **Description**: This key is by NIM microservices inside docker containers to access NGC resources. | ||
This is necessary only in some cases when it is different from `NGC_API_KEY`. If this is not specified, `NGC_API_KEY` is used to access NGC resources. | ||
The following are the environment configuration variables that you can specify in your .env file. | ||
|
||
|
||
| Name | Example | Description | | ||
|----------------------------------|--------------------------------|-----------------------------------------------------------------------| | ||
| `CAPTION_CLASSIFIER_GRPC_TRITON` | - `triton:8001` <br/> | The endpoint where the caption classifier model is hosted using gRPC for communication. This is used to send requests for caption classification. You must specify only ONE of an http or gRPC endpoint. If both are specified gRPC will take precedence. | | ||
| `CAPTION_CLASSIFIER_MODEL_NAME` | - `deberta_large` <br/> | The name of the caption classifier model. | | ||
| `DOUGHNUT_TRITON_HOST` | - `triton-doughnut` <br/> | The hostname or IP address of the DOUGHNUT model service. | | ||
| `DOUGHNUT_TRITON_PORT` | - `8001` <br/> | The port number on which the DOUGHNUT model service is listening. | | ||
| `INGEST_LOG_LEVEL` | - `DEBUG` <br/> - `INFO` <br/> - `WARNING` <br/> - `ERROR` <br/> - `CRITICAL` <br/> | The log level for the ingest service, which controls the verbosity of the logging output. | | ||
| `MESSAGE_CLIENT_HOST` | - `redis` <br/> - `localhost` <br/> - `192.168.1.10` <br/> | Specifies the hostname or IP address of the message broker used for communication between services. | | ||
| `MESSAGE_CLIENT_PORT` | - `7670` <br/> - `6379` <br/> | Specifies the port number on which the message broker is listening. | | ||
| `MINIO_BUCKET` | - `nv-ingest` <br/> | Name of MinIO bucket, used to store image, table, and chart extractions. | | ||
| `NGC_API_KEY` | - `nvapi-*************` <br/> | An authorized NGC API key, used to interact with hosted NIMs and can be generated here: https://org.ngc.nvidia.com/setup/personal-keys. | | ||
| `NIM_NGC_API_KEY` | — | The key that NIM microservices inside docker containers use to access NGC resources. This is necessary only in some cases when it is different from `NGC_API_KEY`. If this is not specified, `NGC_API_KEY` is used to access NGC resources. | | ||
| `NVIDIA_BUILD_API_KEY` | — | The key to access NIMs that are hosted on build.nvidia.com instead of a self-hosted NIM. This is necessary only in some cases when it is different from `NGC_API_KEY`. If this is not specified, `NGC_API_KEY` is used for build.nvidia.com. | | ||
| `OTEL_EXPORTER_OTLP_ENDPOINT` | - `http://otel-collector:4317` <br/> | The endpoint for the OpenTelemetry exporter, used for sending telemetry data. | | ||
| `REDIS_MORPHEUS_TASK_QUEUE` | - `morpheus_task_queue` <br/> | The name of the task queue in Redis where tasks are stored and processed. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters