Appendix B
This page is for AI-Q Research Agent Blueprint.
AI-Q Helm values file
# ------------------------------------------------------------# The following values are for the AIQ AIRA backend service.# ------------------------------------------------------------replicaCount: 1# The name of the image pull secret to use for the AIQ container images.# Either create the secret manually and update the name here# or update the imagePullSecret.password with your NGC API keyngcImagePullSecretName: "ngc-secret"imagePullSecret:create: truename: "ngc-secret"registry: "nvcr.io"username: "$oauthtoken"password: "" #UPDATE THIS# The image repository and tag for the AIQ AIRA backend service.image:repository: nvcr.io/nvidia/blueprint/aira-backendtag: v1.1.0pullPolicy: IfNotPresent# The service type and port for the main AIQ AIRA backend serviceservice:port: 3838# Update each value according to your desired configuration.config:# The instruct_ settings are for the general purpose Q&A LLMinstruct_model_name: "meta/llama-3.3-70b-instruct"instruct_temperature: "0.0"instruct_api_key: "not-needed"instruct_base_url: "http://nim-llm.aira.svc.cluster.local:8000/v1"# The nemotron_ settings are for the reasoning LLMnemotron_api_key: "not-needed" # not needed as we use the nemotron service from the RAG deployment which does not require an API keynemotron_model_name: "nvidia/llama-3.3-nemotron-super-49b-v1.5"nemotron_temperature: "0.5"nemotron_base_url: "http://nim-llm.rag.svc.cluster.local:8000/v1" # provided by the RAG deploymentnemotron_max_tokens: "5000"nemotron_stream: "true"# Enter your Tavily API key here to enable web searchtavily_api_key: "" #UPDATE THIS# Enter the IP address of the RAG servicesrag_ingest_url: "http://ingestor-server.rag.svc.cluster.local:8082" # provided by the RAG deploymentrag_url: "http://rag-server.rag.svc.cluster.local:8081" # provided by the RAG deploymentrag_api_key: "" #Typically not requiredmilvus_host: "milvus.rag.svc.cluster.local" # provided by the RAG deploymentmilvus_port: "19530"# Do not update this command. It is the default command to launch the AI-Q backend service.command: "/entrypoint.sh"# ------------------------------------------------------------# The following values are for the instruct LLM service# The nemotron llm is assumed to be deployed via the RAG helm chart# ------------------------------------------------------------ngcApiSecret:name: "ngc-api"password: "" # UPDATE THIScreate: truenim-llm:enabled: trueservice:name: "nim-llm"image:repository: nvcr.io/nim/meta/llama-3.3-70b-instructpullPolicy: IfNotPresenttag: "1.12.0"resources:limits:nvidia.com/gpu: 1requests:nvidia.com/gpu: 1model:name: "meta/llama-3.3-70b-instruct"env:- name: NIM_MODEL_NAMEvalue: "meta/llama-3.3-70b-instruct"- name: NIM_MODEL_PROFILEvalue: "257a3035dbddb2a2cd48f5763ee64f972af4ba0dd5ef92ade1dbb478f6cf5dd3"# ------------------------------------------------------------# The following values are for the nginx proxy that enables the AIQ frontend# to interact with both the AIQ AIRA backend service and the RAG service## You may need to update the RAG service IP address if you have not deployed RAG via helm on the same cluster# ------------------------------------------------------------nginx:nginxImage:ngcImageRegistry: ""ngcImageRegistryPath: ""name: "nginx"tag: "1.27.0"pullPolicy: Alwaysservice:port: 8051nginx_config:conf: |-worker_processes auto;events {worker_connections 1024;}http {proxy_ssl_server_name on;proxy_cache_path /server_cache_llm levels=1:2 keys_zone=llm_cache:10m max_size=20g inactive=14d use_temp_path=off;proxy_cache_path /server_cache_intel levels=1:2 keys_zone=intel_cache:10m max_size=20g inactive=14d use_temp_path=off;error_log /dev/stdout info;log_format upstream_time '$remote_addr - $remote_user [$time_local] ''"$request" $status $body_bytes_sent ''"$http_referer" "$http_user_agent"''rt=$request_time uct="$upstream_connect_time" uht="$upstream_header_time" urt="$upstream_response_time"';log_format cache_log '[$time_local] ($upstream_cache_status) "$request" $status - $body_bytes_sent bytes {$remote_addr} "$http_user_agent" $request_time - $connection_requests. Auth: $http_authorization';log_format no_cache_log '[$time_local] (BYPASSED) "$request" $status - $body_bytes_sent bytes {$remote_addr} "$http_user_agent" $request_time - $connection_requests. Auth: $http_authorization';log_format mirror_log '[$time_local] (MIRROR) "$request" $status - $body_bytes_sent bytes {$remote_addr} "$http_user_agent" $request_time - $connection_requests. Auth: $http_authorization';log_format nvai_cache_log '[$time_local] ($upstream_cache_status) "$request" $status - $body_bytes_sent bytes {$remote_addr} "$http_user_agent" $request_time - $connection_requests. Auth: $http_authorization. $upstream_addr';map $http_cache_control $cache_bypass {no-cache 1;}# Log to stdout and a file for searchabilityaccess_log /dev/stdout cache_log;access_log /var/log/nginx/access.log cache_log;error_log /dev/stdout info;error_log /var/log/nginx/error.log info;server {listen 8051;server_name _;# Common proxy settingsproxy_set_header X-Real-IP $remote_addr;proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;proxy_set_header X-Forwarded-Proto $scheme;proxy_pass_request_headers on;# Common buffer settingslarge_client_header_buffers 4 32k;client_header_buffer_size 4k;# Common timeout settingsclient_body_timeout 900s;client_header_timeout 900s;# Common settings for document-related endpointsproxy_read_timeout 600s;proxy_connect_timeout 60s;proxy_send_timeout 600s;client_max_body_size 100M;proxy_max_temp_file_size 0;proxy_buffering on;proxy_buffer_size 1M;proxy_buffers 100 1M;proxy_busy_buffers_size 2M;# Original routeslocation ~ ^/v1/(status|documents|collections) {proxy_pass http://ingestor-server.rag.svc.cluster.local:8082/$1$is_args$args;proxy_set_header Host http://ingestor-server.rag.svc.cluster.local:8082;}# Protected routeslocation ~ ^/v2/protected/aiq/v1/(status|documents|collections) {proxy_pass http://ingestor-server.rag.svc.cluster.local:8082/$1$is_args$args;proxy_set_header Host http://ingestor-server.rag.svc.cluster.local:8082;}# Special case for files routelocation /v2/protected/aiq/v1/files {proxy_pass http://ingestor-server.rag.svc.cluster.local:8082/v1/documents;proxy_set_header Host http://ingestor-server.rag.svc.cluster.local:8082;}# Protected routes AIRA v1location ~ ^/v2/protected/aiq/v1/((generate_query|generate_summary|artifact_qa|default_collections)(/stream)?)$ {proxy_pass http://aira-aira-backend.aira.svc.cluster.local:3838/$1$is_args$args;proxy_set_header Host http://aira-aira-backend.aira.svc.cluster.local:3838;}# Health routeslocation /v2/protected/aiq/keepalive {default_type text/plain;return 200 "OK";}location /v2/protected/aiq/health {default_type text/plain;return 200 "OK";}location = /health {default_type text/plain;return 200 "OK";}location = /keepalive {default_type text/plain;return 200 "OK";}# Catch-all for other protected routeslocation /v2/protected/aiq/ {rewrite ^/v2/protected/aiq/(.*) /$1 break;proxy_pass http://aira-aira-backend.aira.svc.cluster.local:3838;proxy_set_header Host $host;}# Default location for all other routeslocation / {proxy_pass http://aira-aira-backend.aira.svc.cluster.local:3838;proxy_set_header Host $host;}error_page 500 502 503 504 /50x.html;location = /50x.html {root /usr/share/nginx/html;}}}# ------------------------------------------------------------# The following values are for the AIQ AIRA frontend service.# ------------------------------------------------------------# The frontend application is a React web app. We recommend a NodePort so the frontend will be accessible at <your-node-ip>:3001frontend:enabled: true# Update the value below to the IP address and port of the nginx serviceproxyUrl: http://aira-nginx.aira.svc.cluster.local:8051service:port: 3001targetPort: 3001image:repository: nvcr.io/nvidia/blueprint/aira-frontendtag: v1.1.0pullPolicy: IfNotPresentreplicaCount: 1# ------------------------------------------------------------# The following values are optional utility services# ------------------------------------------------------------# Enables the Phoenix tracing servicephoenix:enabled: trueimage:repository: arizephoenix/phoenixtag: latestpullPolicy: IfNotPresentresources:limits:cpu: 500mmemory: 512Mirequests:cpu: 200mmemory: 256Mi