@@ -10,24 +10,25 @@ This service provides the frontend for the retail store, serving the HTML UI and
1010
1111The following environment variables are available for configuring the service:
1212
13- | Name | Description | Default |
14- | --------------------------------- | ------------------------------------------------------------------------------ | ----------------------- |
15- | ` PORT ` | The port which the server will listen on | ` 8080 ` |
16- | ` RETAIL_UI_THEME ` | Name of the theme for the UI, valid values are ` default ` , ` green ` , ` orange ` | ` "default" ` |
17- | ` RETAIL_UI_DISABLE_DEMO_WARNINGS ` | Disable the UI messages warning about demonstration content | ` false ` |
18- | ` RETAIL_UI_ENDPOINTS_CATALOG ` | The endpoint of the catalog API. If set to ` false ` uses a mock implementation | ` false ` |
19- | ` RETAIL_UI_ENDPOINTS_CARTS ` | The endpoint of the carts API. If set to ` false ` uses a mock implementation | ` false ` |
20- | ` RETAIL_UI_ENDPOINTS_ORDERS ` | The endpoint of the orders API. If set to ` false ` uses a mock implementation | ` false ` |
21- | ` RETAIL_UI_ENDPOINTS_CHECKOUT ` | The endpoint of the checkout API. If set to ` false ` uses a mock implementation | ` false ` |
22- | ` RETAIL_UI_CHAT_ENABLED ` | Enable the chat bot UI | ` false ` |
23- | ` RETAIL_UI_CHAT_PROVIDER ` | The chat provider to use, value values are ` bedrock ` , ` openai ` , ` mock ` | ` "" ` |
24- | ` RETAIL_UI_CHAT_MODEL ` | The chat model to use, depends on the provider. | ` "" ` |
25- | ` RETAIL_UI_CHAT_TEMPERATURE ` | Model temperature | ` 0.6 ` |
26- | ` RETAIL_UI_CHAT_MAX_TOKENS ` | Model maximum response tokens | ` 300 ` |
27- | ` RETAIL_UI_CHAT_PROMPT ` | Model system prompt | ` (see source) ` |
28- | ` RETAIL_UI_CHAT_BEDROCK_REGION ` | Amazon Bedrock region | ` "" ` |
29- | ` RETAIL_UI_CHAT_OPENAI_BASE_URL ` | Base URL for OpenAI endpoint | ` http://localhost:8888 ` |
30- | ` RETAIL_UI_CHAT_OPENAI_API_KEY ` | API key for OpenAI endpoint | ` "" ` |
13+ | Name | Description | Default |
14+ | --------------------------------- | ------------------------------------------------------------------------------------------------------ | ----------------------- |
15+ | ` PORT ` | The port which the server will listen on | ` 8080 ` |
16+ | ` RETAIL_UI_THEME ` | Name of the theme for the UI, valid values are ` default ` , ` green ` , ` orange ` | ` "default" ` |
17+ | ` RETAIL_UI_DISABLE_DEMO_WARNINGS ` | Disable the UI messages warning about demonstration content | ` false ` |
18+ | ` RETAIL_UI_PRODUCT_IMAGES_PATH ` | Overrides the location where the sample product images are sourced from to use the specified file path | `` |
19+ | ` RETAIL_UI_ENDPOINTS_CATALOG ` | The endpoint of the catalog API. If set to ` false ` uses a mock implementation | ` false ` |
20+ | ` RETAIL_UI_ENDPOINTS_CARTS ` | The endpoint of the carts API. If set to ` false ` uses a mock implementation | ` false ` |
21+ | ` RETAIL_UI_ENDPOINTS_ORDERS ` | The endpoint of the orders API. If set to ` false ` uses a mock implementation | ` false ` |
22+ | ` RETAIL_UI_ENDPOINTS_CHECKOUT ` | The endpoint of the checkout API. If set to ` false ` uses a mock implementation | ` false ` |
23+ | ` RETAIL_UI_CHAT_ENABLED ` | Enable the chat bot UI | ` false ` |
24+ | ` RETAIL_UI_CHAT_PROVIDER ` | The chat provider to use, value values are ` bedrock ` , ` openai ` , ` mock ` | ` "" ` |
25+ | ` RETAIL_UI_CHAT_MODEL ` | The chat model to use, depends on the provider. | ` "" ` |
26+ | ` RETAIL_UI_CHAT_TEMPERATURE ` | Model temperature | ` 0.6 ` |
27+ | ` RETAIL_UI_CHAT_MAX_TOKENS ` | Model maximum response tokens | ` 300 ` |
28+ | ` RETAIL_UI_CHAT_PROMPT ` | Model system prompt | ` (see source) ` |
29+ | ` RETAIL_UI_CHAT_BEDROCK_REGION ` | Amazon Bedrock region | ` "" ` |
30+ | ` RETAIL_UI_CHAT_OPENAI_BASE_URL ` | Base URL for OpenAI endpoint | ` http://localhost:8888 ` |
31+ | ` RETAIL_UI_CHAT_OPENAI_API_KEY ` | API key for OpenAI endpoint | ` "" ` |
3132
3233## Endpoints
3334
0 commit comments