Verifying Knowledge Transformer deployment
After deploying ZAssistantDeploy with Knowledge Transformer enabled, verify that the service is running correctly and
configure the zassist CLI to use it.
Before you begin
- ZAssistantDeploy deployed with
transform.enabled: true, see Enabling Knowledge Transformer and Deploying ZAssistantDeploy on your cluster. - The
TRANSFORM_API_KEYvalue saved from secret creation, see Knowledge Transformer Secret.
Procedure
If the pod is not starting:
- Check the pod
logs:
oc logs -n wxa4z-zad -l app=wxa4z-transform --tail=100 - Verify secrets exist and contain required keys. Get the transform
secret:
Check watsonx credentials:oc get secret transform-secret -n wxa4z-zad -o jsonpath='{.data}' | jq 'keys'oc get secret wxa4z-ifm-credentials -n wxa4z-zad -o jsonpath='{.data}' | jq 'keys' - Verify the watsonx credentials secret contains all the required keys:
MODEL_RUNTIMELLM_BASE_URLLLM_API_KEYWATSONX_MODEL_IDWATSONX_PROJECT_ID
- Verify the API key matches the
secret:
echo $TRANSFORM_API_KEY oc get secret transform-secret -n wxa4z-zad -o jsonpath='{.data.TRANSFORM_API_KEY}' | base64 -d - Reconfigure the
zassistCLI with the correct API key:zassist config transform set-api-key <correct-api-key>