vania-janet/multiturn-rag-retrieval-data huggingface dataset:
This tutorial will guide you through the steps to configure queue manager AMS for encryption on an IBM MQ queue on an IBM Cloud queue manager. You will begin by putting and getting plain text messages to confirm that the messages sit on the queue in plain text. You will then enable queue manager AMS encryption, thus ensuring that messages on the queue are encrypted. You will then demonstrate that messages on the queue are now encrypted, ensuring the message data cannot be accessed or modified by unauthorised users or applications.





 Prerequisites 

In order to proceed with this tutorial, it is vital that you have the following prerequisites:



1. IBM MQ on Cloud queue manager

If you do not already have an IBM MQ on Cloud queue manager, you can create one by following the guided tour here:

[Getting started with IBM MQ on Cloud](https://cloud.ibm.com/docs/services/mqcloud?topic=mqcloud-mqoc_getting_started)



* Note. The queue manager should not already have TLS enabled on it



Having followed the guided tour, or the manual steps provided on the same page, you should have:



* An MQ on Cloud queue manager
* Connection details downloaded in a connection_info.txt file



* Consult Appendix 1 at the bottom of this tutorial if you do not have this file



* An admin username and apikey downloaded in a platformApiKey.json file



* Consult Appendix 2 at the bottom of this tutorial if you do not have this file



* An application username and apikey downloaded in an apiKey.json file



* Consult Appendix 3 at the bottom of this tutorial if you do not have this file





2. IBM MQ Client

To complete this tutorial you will require the IBM MQ command line tool 'runmqsc' as well as the IBM MQ sample applications 'amqsputc' and 'amqsgetc' installed and on your PATH. If you do not have these commands, you can get them by installing the IBM MQ Client. Appendix 4 at the end of this tutorial details how to do this.
For details about how Knowledge Studio handles Arabic character shaping and numeric shaping, see [Configuring support for Arabic](https://cloud.ibm.com/docs/watson-knowledge-studio-data?topic=watson-knowledge-studio-data-wks_langsupp_ar).







 CSV file dictionary 

Also referred to as the standard dictionary format, a dictionary in comma-separated value (CSV) format is a file that you can edit after you upload it. The maximum size of a CSV file that you can upload is 1 MB. If you have a larger dictionary file, then break the large file into multiple files and upload them one at a time into a single dictionary in your Knowledge Studio workspace.

To summarize the requirements, you must use a text editor to create the CSV file, not software like Microsoft Excel, and the file must use UTF-8 encoding that does not include the byte order mark (BOM) at the start of the text stream. The first row in the file must specify the following column headers:

lemma,poscode,surface

The remaining lines in the file specify the dictionary entries, where:



* lemma

Specifies the most representative word form for the entry.
* poscode (Arabic, Brazilian Portuguese, English, French, German, Italian, and Spanish)

Specifies a code that identifies the part of speech. This part of speech information is used by the dictionary annotator to help with sentence tokenization.



* 0 - Unknown

This code supports the scenario where you want to upload a large machine-generated dictionary that does not include part of speech information in each entry. You can assign unknown to all entries by default. Avoid using this code, if possible.
* 1 - Pronoun
* 2 - Verb
* 3 - Noun
* 4 - Adjective
* 5 - Adverb
* 6 - Adposition
* 7 - Interjection
* 8 - Conjunction
* 9 - Determiner
* 10 - Quantifier



In English, noun (3), verb (2), and adjective (4) are the most common parts of speech that are used for dictionary entries.
Ordering Veeam standalone licenses 

You can order a Veeam® standalone license without associating it to any VMware® vCenter Server® instance for licensing and activation of your on-premises workloads.



 Before you begin 

Ensure that you configured the IBM Cloud® infrastructure credentials on the Settings page. For more information, see [Managing user accounts and settings](https://cloud.ibm.com/docs/vmwaresolutions?topic=vmwaresolutions-useraccount).





 Procedure to order Veeam standalone licenses 



1. Log into the IBM Cloud.
2. Navigate to the VMware page. To find the page, you can search for VMware Solutions.
3. Select Licenses from the menu at the left.
4. Scroll down to the Veeam licenses entry. Click Create new.
5. Enter the required information for the fields.
6. Click the link or links of the terms that apply to your order. Ensure that you agree with the terms before you order the license.
7. Click Add to estimate or Create.







 Results 

The ordering process automatically starts.

An email will be sent confirming the order. Should the order be incorrect, it can be deleted. For more information, see [Managing Veeam licenses](https://cloud.ibm.com/docs/vmwaresolutions?topic=vmwaresolutions-veeam_managing_licenses).

A license key will be generated and emailed to whomever placed the order.





 Related links 



* [Veeam 9.5 overview](https://cloud.ibm.com/docs/vmwaresolutions?topic=vmwaresolutions-veeam_considerations)
* [Veeam Backup and Replication 12 overview](https://cloud.ibm.com/docs/vmwaresolutions?topic=vmwaresolutions-veeamvm_overview)
Baseline Input-Output Operations per second (IOPS) performance for disk is 10 IOPS for each GB. Scale disk to increase the IOPS that your deployment can handle.

You cannot scale down storage.





 RAM 

If you find that your deployment is suffering from performance issues due to a lack of memory, you can scale the amount of RAM allocated to it. The amount of memory you allocate to your deployment is split between all members. Adding memory to the total allocation adds memory to all members equally.

[work_mem](https://www.postgresql.org/docs/current/runtime-config-resource.htmlGUC-WORK-MEM), [maintenance_work_mem](https://www.postgresql.org/docs/current/runtime-config-resource.htmlGUC-MAINTENANCE-WORK-MEM), and [effective_cache_size](https://www.postgresql.org/docs/current/runtime-config-query.htmlGUC-EFFECTIVE-CACHE-SIZE) are auto-tuned based on the deployment's total memory. They are also set when you scale memory on your deployment. When you scale, the values are adjusted without outage to the running deployment.

The amount of memory allocated to the database's shared buffer pool is not adjusted automatically when you scale your deployment. It is recommended to be set to 25% of the deployment's total memory. You can manually tune the shared buffer pool through the [shared_buffer](https://www.postgresql.org/docs/current/runtime-config-resource.htmlGUC-SHARED-BUFFERS) setting in your [Databases for EnterpriseDB's configuration](https://cloud.ibm.com/docs/databases-for-enterprisedb?topic=databases-for-enterprisedb-changing-configuration). It is not auto-tuned because changing the shared_buffer requires a database restart.





 Dedicated Cores 

You can increase the CPU allocation to the deployment. With dedicated cores, your resource group is given a single-tenant host with a reserve of CPU shares.
For details about how Knowledge Studio handles Arabic character shaping and numeric shaping, see [Configuring support for Arabic](https://cloud.ibm.com/docs/watson-knowledge-studio?topic=watson-knowledge-studio-wks_langsupp_ar).







 CSV file dictionary 

Also referred to as the standard dictionary format, a dictionary in comma-separated value (CSV) format is a file that you can edit after you upload it. The maximum size of a CSV file that you can upload is 1 MB. If you have a larger dictionary file, then break the large file into multiple files and upload them one at a time into a single dictionary in your Knowledge Studio workspace.

To summarize the requirements, you must use a text editor to create the CSV file, not software like Microsoft Excel, and the file must use UTF-8 encoding that does not include the byte order mark (BOM) at the start of the text stream. The first row in the file must specify the following column headers:

lemma,poscode,surface

The remaining lines in the file specify the dictionary entries, where:



* lemma

Specifies the most representative word form for the entry.
* poscode (Arabic, Brazilian Portuguese, English, French, German, Italian, and Spanish)

Specifies a code that identifies the part of speech. This part of speech information is used by the dictionary annotator to help with sentence tokenization.



* 0 - Unknown

> Note: This code supports the scenario where you want to upload a large machine-generated dictionary that does not include part of speech information in each entry. You can assign unknown to all entries by default. Avoid using this code, if possible.
* 1 - Pronoun
* 2 - Verb
* 3 - Noun
* 4 - Adjective
* 5 - Adverb
* 6 - Adposition
* 7 - Interjection
* 8 - Conjunction
* 9 - Determiner
* 10 - Quantifier



In English, noun (3), verb (2), and adjective (4) are the most common parts of speech that are used for dictionary entries.
* none - Prevents the service from emphasizing text that might otherwise be emphasized.
* moderate - Provides a noticeable amount of emphasis to the text. This level is the default if you omit the level attribute.
* strong - Provides a more significant amount of emphasis to the text than the moderate level provides.
* reduced - De-emphasizes the text by tending to reduce its significance in the audio. This level is the opposite of stressing the text.



The following example applies the moderate level to the word give:

I am going to <emphasis level="moderate">give</emphasis> her the book.

For more information, see [Emphasizing words](https://cloud.ibm.com/docs/text-to-speech?topic=text-to-speech-synthesis-expressiveemphasizing-words).





 The <express-as> element 

The <express-as> element is an SSML extension specific to the Text to Speech service. It is supported for use only with the expressive neural voices.

With the expressive neural voices, you can use the <express-as> element to apply speaking styles to enhance the service's emphasis of certain characteristics for all or part of the input text. The element supports a required style attribute that accepts one of the following speaking styles:



* cheerful - Expresses happiness and good news.
* empathetic - Expresses empathy and compassion.
* neutral - Expresses objectivity and evenness.
* uncertain - Expresses confusion and uncertainty.



The following example applies the cheerful style to the entire input text:

<express-as style="cheerful">Oh, that's good news! I'm glad that we could help.</express-as>

For more information, see [Using speaking styles](https://cloud.ibm.com/docs/text-to-speech?topic=text-to-speech-synthesis-expressivesyntheses-expressive-styles).





 The <lexicon> element 

This <lexicon> element introduces pronunciation dictionaries for the given SSML document. It is not supported.

You can use the service's customization interface to define a dictionary of custom entries (word/translation pairs) for use during speech synthesis.
* [Create a volume clone for specific volumes](https://cloud.ibm.com/docs/power-iaas-cli-plugin?topic=power-iaas-cli-plugin-power-iaas-cli-referencecreate-volume-clone)



* Are there any initial snapshot requirement in terms of storage?

None. The storage is allocated on demand.
* Does the snapshot and volume clone supports any safeguard policy?

None. Power Systems Virtual Server does not (currently) provide any options to safeguarded copy (such as cyber protection).
* Can you tell me more about the backup process using the PowerHA Toolkit for IBM i?

The PowerHA Toolkit for IBM i provides the 5250 user interfaces and automation to use them for backups. In a nutshell, it does the following:



* Automates the memory flush
* Create the volumes-clone
* Attach the clones to a host
* Start the host
* kicki-off the backups
* Move the BRMS data back to the production VM before shutting down the backup VM
* Remove the cloned volumes.



It also allows you to quickly create an intermediate snap-shot then a volumes-clone before entering the long-running volume detach or attach phase. You have the ability to pause the process immediately before attaching volumes.
* How do you set up private networks between Intel® Virtual Servers (x86) and Power Systems Virtual Servers?

See the tutorial on [IBM Power Systems Virtual Server integration with x86-based workloads](https://cloud.ibm.com/media/docs/downloads/power-iaas-tutorials/PowerVS_and_x86_Integration_Tutorial_v1.pdf).
* How do you set up customer site access to a private network by using VPN?
* [Testing actions from the CLI](https://cloud.ibm.com/docs/openwhisk?topic=openwhisk-testtest-js)



* [Testing parameters stored in JSON files](https://cloud.ibm.com/docs/openwhisk?topic=openwhisk-testtest_json_file)
* [Testing parameters entered in JSON format](https://cloud.ibm.com/docs/openwhisk?topic=openwhisk-testtest_json)
* [Testing blocking actions](https://cloud.ibm.com/docs/openwhisk?topic=openwhisk-testtest-block)



* [Testing triggers](https://cloud.ibm.com/docs/openwhisk?topic=openwhisk-testtest_triggers)
* [Testing duration of activations](https://cloud.ibm.com/docs/openwhisk?topic=openwhisk-testtest_time)
* [Testing memory usage](https://cloud.ibm.com/docs/openwhisk?topic=openwhisk-testtest_memory)



* [Special considerations for memory usage with Node.js runtime actions](https://cloud.ibm.com/docs/openwhisk?topic=openwhisk-testmemory_usage)









 Setting access policies 

[Setting access policies](https://cloud.ibm.com/docs/openwhisk?topic=openwhisk-iamiam)



* [How do I set IAM policies so that others can work with my namespace?](https://cloud.ibm.com/docs/openwhisk?topic=openwhisk-iamiam_namespace_policies)
* [How do I set IAM policies so that others can create namespaces in my account?](https://cloud.ibm.com/docs/openwhisk?topic=openwhisk-iamiam_namespace_create)
Why do I see a bypassing verification message when I add a host? 

  What’s happening 

When you add a host, you see the following event in VMware vCenter Server®:

Attempting to install an image profile bypassing signing and acceptance level verification.

  Why it’s happening 

This event occurs because VMware® is installing the High Availability agent by intended bypassing acceptance level verification.

  How to fix it 

This message does not indicate a problem and can be ignored.
But, After more hosts are added to the location, the scale-up operation is resumed automatically.

How does autoscaling different on Satellite compared to IBM Cloud® Kubernetes Service or Red Hat® OpenShift® on IBM Cloud®?
: IBM Cloud® Kubernetes Service or Red Hat® OpenShift® on IBM Cloud® can automatically provision or remove hosts in the infrastructure as part of scaling. With Satellite, since hosts reside on a variety of different infrastructure, the autoscaler can't provision and remove worker nodes automatically. Instead, on Satellite clusters, the cluster autoscaler uses only hosts that are already available and ready in the location. This means you need keep additional hosts available in location for the autoscaler to use during scale up.

What type of hosts does cluster autoscaler use while scaling up the cluster?
: Hosts with Ready status and the unassigned state are considered available for use by the cluster autoscaler.

Which of the available hosts can be used during scale-up?
: Of the Ready and unassigned hosts, only the hosts whose labels match the labels of the worker pool where scaling is enabled can be used for scaling. When attaching hosts to your location, make sure to label the hosts you want to use in your autoscaled worker pools.

How does the cluster autoscaler impact billing?
: Since the cluster autoscaler doesn't perform any operations at infrastructure level, however it does assign hosts to worker pools, which means [Cluster management fees](https://cloud.ibm.com/docs/satellite?topic=satellite-faqspricing) are incurred.

After a scaling event, what do I do with the hosts that were used for scaling that are now in a Reload requried state?
: After scaling, hosts enter a Reload required state and can't be used for scaling again, until they are rebooted. Unassign these hosts from the worker pool, remove them from your location, reboot them, and reattach to make them available for scaling again.

How do I set up autoscaling in my Satellite cluster
: To set up autoscaling, you must complete the following steps.



1. Create a Satellite location.
2.
From the command line you can edit all the variables of the workspace in the JSON format by using [ibmcloud schematics workspace update](https://cloud.ibm.com/docs/schematics?topic=schematics-schematics-cli-referenceschematics-workspace-update) command.





 How do I import keys when importing KMS resources? 

Yes, you can set or manage the keys by using ibm_kms_key as shown in the sample code block. For more information, see [ibm_kms_key](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/resources/kms_keyimport).

resource "ibm_resource_instance" "kms_instance" {
name = "instance-name"
service = "kms"
plan = "tiered-pricing"
location = "us-south"
}
resource "ibm_kms_key" "test" {
instance_id = ibm_resource_instance.kms_instance.guid
key_name = "key-name"
standard_key = false
force_delete =true
}
resource "ibm_cos_bucket" "smart-us-south" {
bucket_name = "atest-bucket"
resource_instance_id = "cos-instance-id"
region_location = "us-south"
storage_class = "smart"
key_protect = ibm_kms_key.test.id
}
Show more





 Can you enable the TRACE to help DEBUG Schematics API while running workspace list command? 

No, currently Schematics do not support this feature while running IBMCLOUD_TRACE=true ibmcloud schematics workspace list command.





 How do I resolve errors listing workspaces 

When listing or retrieving workspaces the following error may be received. Error while retrieving Schematics Instance for the given account.

Error:
For more information about Platform and Service level access roles, see [Platform management roles](https://cloud.ibm.com/docs/openwhisk?topic=openwhisk-iamiam_platform_roles) and [Service-specific roles](https://cloud.ibm.com/docs/openwhisk?topic=openwhisk-iamservice_specific_roles).

Want to learn more about IAM key concepts? Check out [the IAM overview](https://cloud.ibm.com/docs/account?topic=account-iamoverview) or the [Best practices for assigning access](https://cloud.ibm.com/docs/account?topic=account-account_setup).





 How do I set IAM policies so that others can create namespaces in my account? 

To allow other users to manage Cloud Functions namespaces, including creating new namespaces, you must set the following access policies for those users.



* The user's Platform role must be set to Administrator. This policy applies to all resources of Cloud Functions.
* The user's Service role must be set to Manager. This policy applies to all resources of Cloud Functions.







 How do I know which access policies have set for me? 

You can see which access policies have been set for you in the [IBM Cloud catalog](https://cloud.ibm.com/catalog) console.



1. From the console, click Manage > Access (IAM) > Users. Or, navigate to https://cloud.ibm.com/iam/users.
2. Click your name in the user table.
3. Click the Access policies tab to see your access policies.







 Platform management roles 

The following table details the actions that are mapped to platform management roles. Platform management roles enable users to perform tasks on service resources at the platform level. For example, assign user access for the service, create or delete service IDs, create instances, and bind instances to applications.
How do I resolve conflicting routes in a route report? 

When you generate a route report, the results might display overlapping or conflicting routes.

  What’s happening 

Your generated report identifies any conflicting routes in the table's Conflict column.

  Why it’s happening 

There are many causes of overlapping routes, one being that overlapping routes might be intentional, such as for High Availability purposes.

  How to fix it 

For information on diagnosing potential problems with conflicting or overlapping routes, review the considerations listed in [Addressing route conflicts](https://cloud.ibm.com/docs/transit-gateway?topic=transit-gateway-route-reports&interface=uiroute-conflicts).
What if I see an infrastructure permission that I can't find in the console or [Infrastructure roles](https://cloud.ibm.com/docs/containers?topic=containers-classic-roles) table?
: Support Case permissions are managed in a different part of the console than infrastructure permissions. See step 8 of [Customizing infrastructure permissions](https://cloud.ibm.com/docs/containers?topic=containers-access-credsinfra_access).

Which infrastructure permissions do I assign?
: If your company's policies for permissions are strict, you might need to limit the suggested permissions for your cluster's use case. Otherwise, make sure that your infrastructure credentials for the region and resource group include all the required and suggested permissions.

For most use cases, [set up the API key](https://cloud.ibm.com/docs/containers?topic=containers-access-creds) for the region and resource group with the appropriate infrastructure permissions. If you need to use another infrastructure account that differs from your current account, [set up manual credentials](https://cloud.ibm.com/docs/containers?topic=containers-access-credscredentials).

How do I control what actions the users can perform?
: After infrastructure credentials are set up, you can control what actions your users can perform by assigning them [IBM Cloud IAM platform access roles](https://cloud.ibm.com/docs/containers?topic=containers-iam-platform-access-roles).

ibmcloud ks infra-permissions get --region REGION [--output json] [-q]

Minimum required permissions
: Viewer platform access role for the cluster in IBM Cloud Kubernetes Service

Command options:

--region REGION
: Required: Specify a region in IBM Cloud Kubernetes Service: jp-osa, jp-tok, au-syd, eu-de, eu-gb, us-east, or us-south.

--output json
: Optional: Prints the command output in JSON format.

-q
We do not groom cats."

In the JSON editor for the Found condition, reset the value of the $animal context variable because it is currently set to cat and should not be.

{
"output":{
"text": {
"values": [
"I'm sorry. We do not groom cats."
]
}
},
"context":{
"animal": null
}
}







 Slots examples 

To access JSON files that implement different common slot usage scenarios, go to the community [conversation repo](https://github.com/watson-developer-cloud/community/tree/master/watson-assistant) in GitHub.

To explore an example, download one of the example JSON files, and then import it as a new dialog skill. From the Dialog tab, you can review the dialog nodes to see how slots were implemented to address different use cases.

Previous topic:[Personalizing the dialog with context](https://cloud.ibm.com/docs/assistant-data?topic=assistant-data-dialog-runtime-context)

Next topic:[Controlling the dialog flow](https://cloud.ibm.com/docs/assistant-data?topic=assistant-data-dialog-runtime)