vania-janet/multiturn-rag-retrieval-data huggingface dataset:
Startup latency Medium Scheduled start Low 
 Termination Run-continuously Run-to-completion Run-to-completion 
 Invocation On request or permanently running Scheduled On request, instant 
 Programming Model Container based build and execution Container based build and execution Language specific source code files and dependency meta data 
 Parallelism Parallel execution, flexible Low to medium parallel execution High parallel execution 
 Scale-out Based on number of requests Based on job workload definition Based on events or direct invocations 
 Optimized for Long running highly complex workload and on-demand scale-out Scheduled/planned workloads with high resource demands Startup time and rapid scale-out 







 Migrating IBM Cloud Functions Actions to Code Engine Functions FAQ 



 How can I process a bulk-load of computations? 

If you process a bulk-load of computations that require high CPU and memory resources and must be finished in less than n hours, you can migrate your program logic into a Code Engine job and then schedule your jobs to run daily. For more information, see [Working with jobs and job runs](https://cloud.ibm.com/docs/codeengine?topic=codeengine-job-plan).





 I used Cloud Function to include dynamic elements for my web application. Can I move to Code Engine Functions? 

You can convert your action to a Code Engine Function and then use the provided Function URL to invoke and return the required dynamic content. See [Working with Functions](https://cloud.ibm.com/docs/codeengine?topic=codeengine-fun-work) to get started.





 Can I trigger my function code? 

While Code Engine does not include an object called a “trigger”, it does support subscribing to event producers, including cron jobs (alarms), Object storage, and Event Streams (Kafka) data. For more information, see [Getting started with subscriptions](https://cloud.ibm.com/docs/codeengine?topic=codeengine-subscribing-events).





 Can my function be accessed through a public URL? 

A Code Engine Function includes a public URL, that is provided for you when you create it.





 How can I secure my functions?
Red Hat OpenShift is automatically scaling your application pods since the CPU usage of the pods greatly exceeded 1% of the resource limit, 30 millicores.





 Autoscaling from the command line 

You can also can delete and create resources like autoscalars with the command line.



1. Start by verifying the context is your project:

oc project example-health
2. Get the autoscaler that was created earlier:

oc get hpa
3. Delete the autoscaler made earlier:

oc delete hpa/patient-hpa
4. Create a new autoscaler with a max of 9 pods:

oc autoscale deploymentconfig/patient-health-frontend --name patient-hpa --min 1 --max 9 --cpu-percent=1
5. Revisit the Workloads > DeploymentConfigs Details page for patient-health-frontend deployment and watch it work.









 Step 6: Using the IBM Cloud Operator to create a Cloudant DB 

Currently, the Example Health patient-health-frontend app is using a dummy in-memory patient. In this exercise, you'll create a Cloudant service in IBM Cloud and populate it with patient data. Cloudant is a NoSQL database-as-a-service, based on CouchDB.



 Enable the IBM Cloud Operator 

Let's understand exactly how Operators work. In the first exercise, you used a builder to deploy a simple application using a DeploymentConfig a default resource type that come with Red Hat OpenShift. A custom resource definition allows you to create resource types that do not come preinstalled with Red Hat OpenShift on IBM Cloud such an IBM Cloud service. Operators manage the lifecycle of resources and create Custom Resource Descriptors, CRDs, allowing you to manage custom resources the native "Kubernetes" way.



1. In the Administrator perspective, and click Operators > OperatorHub.
2. Find the IBM Cloud Operator, and click Install.
3. Keep the default options and click Install.
4.
Local Load Balancer migration FAQs 

Find answers to frequently asked questions about the IBM Local Load Balancer migration process.



 What is the announcement and effective date for Local Load Balancer End of Marketing (EOM)? 

The EOM announcement date is March 1, 2019 and the effective date is June 1, 2019. No new sales can happen after this date.





 Is support for Local Load Balancer available after EOM? 

Yes, support is available for existing Local Load Balancer customers.





 How can I get started with IBM Cloud Load Balancer? 

We recommend you get started by reading the [IBM Cloud Load Balancer documentation](https://cloud.ibm.com/docs/loadbalancer-service?topic=loadbalancer-service-getting-started).





 Does a migration path exist from the Local Load Balancer service to an IBM Cloud Load Balancer? 

No automated migration path exists. However, you can request your Local Load Balancer service to be turned off and order the Cloud Load Balancer service from the IBM Cloud Console.





 What is the difference between the Local Load Balancer and the Cloud Load Balancer? 

The Local Load Balancer is a hardware-based local load-balancing service, while IBM Cloud Load Balancer is a cloud-native service that offers a cost-effective, auto-scaling, load-balancing solution with support for both public and private networks.





 Does Cloud Load Balancer use the same terminology as Local Load Balancer? 

In some cases, it does not. The following table compares key terms in Local Load Balancer with their corresponding and differing terms in Cloud Load Balancer.



Key terms

 Local Load Balancer Term Cloud Load Balancer Term 

 Service Groups Protocols 
 Service Server Instances 
 VIP FQDN 







 Do I still have a single, fixed IP address for my load balancer when I migrate to Cloud Load Balancer? 

IPs for IBM Cloud Load Balancer are not fixed. The IBM Cloud Load Balancer assigns load balancer instances from a pool, which requires a fully qualified domain name (FQDN) at all times. As a result, the individual IP address of a Cloud Load Balancer might change.





 Is IBM Cloud Load Balancer available for Public/Private VSI's and Bare metal solutions?
For more information about visibility, see [Options for visibility for a Code Engine application](https://cloud.ibm.com/docs/codeengine?topic=codeengine-application-workloadsoptionsvisibility) and [Configuring custom domain mappings for your application](https://cloud.ibm.com/docs/codeengine?topic=codeengine-domain-mappings).







 How can I get started with applications? 

To deploy a simple Code Engine application with the icr.io/codeengine/helloworld sample image, see [Creating your first Code Engine app](https://cloud.ibm.com/docs/codeengine?topic=codeengine-getting-startedapp-hello).

Also, you can try an application tutorial, see [Deploying and scaling applications](https://cloud.ibm.com/docs/codeengine?topic=codeengine-deploy-app-tutorial).

To dive deeper into working with applications, see [Working with apps in Code Engine](https://cloud.ibm.com/docs/codeengine?topic=codeengine-application-workloads).
: No, you don't need to re-create the Location. You can reconnect the existing Location and reauthenticate to continue working with your Location.

How do I reauthenticate?
: Reconnect your Location first and then log in again with your credentials.

Do I have to recover etcd backup?
: No, you don't need to recover etcd backup. The Location recovers automatically after you reconnect it and reauthenticate.

What happens if a location is disconnected for more than 7 days?
: After restoring connection, you might need to replace all hosts across the location with new infrastructure.

How do I know when to reconnect a location?
: You can make a note or set a reminder to reconnect the location before the 7-day window expires. The timer starts when you request the token.





 Setting the disconnected usage time 

Satellite Locations and Red Hat OpenShift on IBM Cloud can run disconnected from the parent managed-from region in IBM Cloud for up to 168 hours (7 days).

You can modify this setting by changing the accessTokenMaxAgeSeconds value for all your OAuth clients. The default value for accessTokenMaxAgeSeconds is 86400 seconds.

The accessTokenMaxAgeSeconds value starts counting when the user was last authenticated, not when the Location is disconnected. Note that a user must have access to IAM to authenticate.



1. Get your OAuth clients by running oc get oauthclients.

Example output

NAME SECRET WWW-CHALLENGE TOKEN-MAX-AGE REDIRECT URIS
console OBXIvSxQx2t5ANYe5-xAEylpsbdytupjyjJicScdFsE false default https://console-openshift-console.sl-disc2b-be7d0adc45c89a3b4c1f8e7bc127f800-0000.eu-de.containers.appdomain.cloud/auth/callback
You will create a Code Engine project, select the project and deploy Code Engine entities - applications and jobs - to the project. You will learn how to bind IBM Cloud services to your Code Engine entities. You will also understand the auto-scaling capability of Code Engine where instances are scaled up or down (to zero) based on incoming workload.

Code Engine Kubernetes service

+2

Object Storage,Natural Language Understanding



* 2 hours
* 2023-05-05



[Getting started with Speech to Text](https://cloud.ibm.com/docs/speech-to-text?topic=speech-to-text-gettingStarted)Getting started with Speech to Text

The IBM Watson® Speech to Text service transcribes audio to text to enable speech transcription capabilities for applications. This curl-based tutorial can help you get started quickly with the service. The examples show you how to call the service's POST /v1/recognize method to request a transcript.

Speech to Text



* 10 minutes
* 2023-03-14



[Getting started with Text to Speech](https://cloud.ibm.com/docs/text-to-speech?topic=text-to-speech-gettingStarted)Getting started with Text to Speech

The IBM Watson® Text to Speech service converts written text to natural-sounding speech to provide speech-synthesis capabilities for applications. This curl-based tutorial can help you get started quickly with the service. The examples show you how to call the service's POST and GET /v1/synthesize methods to request an audio stream.

Text to Speech



* 10 minutes
* 2023-03-09



[Build a database-driven Slackbot](https://cloud.ibm.com/docs/solution-tutorials?topic=solution-tutorials-slack-chatbot-database-watson)Build a database-driven Slackbot

In this tutorial, you are going to build a Slackbot which allows to search and create entries in a backend Db2 on Cloud database. The Slackbot is backed by the IBM Watson® Assistant service. You will integrate Slack and IBM Watson® Assistant using an Assistant integration.
How do I copy data from my old server to the new one? 

You can copy applications and application data from your old server to your new one. For more information, see [Migrating resources to a different data center](https://cloud.ibm.com/docs/account?topic=account-migrate-data-center).





 Do I need to set up my networking at the new site? 

Most likely, your networking needs to change to work with the new servers and site. For more information about setting up your network, see [Setting up a virtual machine network](https://cloud.ibm.com/docs/virtualization?topic=virtualization-setting-up-a-virtual-machine-network).





 Can I keep my existing IP addresses? 

Your new servers come with new primary IP subnets. Your current IP addresses cannot be transferred. If you need additional IP addresses, you can request those directly from the console. Specify that you're migrating your resources to a new data center.



* For more information about VPC subnets, see [Bring your own subnet](https://cloud.ibm.com/docs/vpc?topic=vpc-configuring-address-prefixes).
* For more information about classic infrastructure subnets, see [Getting started with subnets and IPs](https://cloud.ibm.com/docs/subnets?topic=subnets-getting-started).
Getting started with Watson Assistant 

The new Watson Assistant experience, focused on using actions to build customer conversations, is designed to make it simple enough for anyone to build a virtual assistant. Building, testing, publishing, and analyzing your assistant can all now be done in one simple and intuitive interface.



* New navigation provides a workflow for building, previewing, publishing, and analyzing your assistant.
* Each assistant has a home page with a task list to help you get started.
* Build conversations with actions, which represent the tasks you want your assistant to help your customers with. Each action contains a series of steps that represent individual exchanges with a customer.
* A new way to publish lets you review and debug your work in a draft environment before going live to your customers.
* Use a new suite of analytics to improve your assistant. Review which actions are being completed to see what your customers want help with, determine if your assistant understands and addresses customer needs, and decide how can you make your assistant better.



For more information about the new experience, see [FAQs about the new IBM Watson Assistant experience](https://cloud.ibm.com/docs/watson-assistant?topic=watson-assistant-watson-assistant-faqsfaqs-new-experience).



 Tutorial 

This series of blog articles provides a tutorial to help you get started:



* [Plan it](https://www.ibm.com/blog/getting-started-with-the-new-watson-assistant-plan-it/?c=Watson%20Assistant)
* [Part I: The build guide](https://www.ibm.com/blog/getting-started-with-the-new-watson-assistant-part-i-the-build-guide/?c=Watson%20Assistant)
* [Part II: Refine your assistant](https://www.ibm.com/blog/getting-started-with-the-new-watson-assistant-part-ii-refine-your-assistant/?c=Watson%20Assistant)
[Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/991f60ddbe3ab0a9aa69481a07a0a73b359fa329/icons/checkmark-icon.svg) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/991f60ddbe3ab0a9aa69481a07a0a73b359fa329/icons/checkmark-icon.svg) 
 Hyper Protect Crypto Services Symmetric encryption keys ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/991f60ddbe3ab0a9aa69481a07a0a73b359fa329/icons/checkmark-icon.svg) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/991f60ddbe3ab0a9aa69481a07a0a73b359fa329/icons/checkmark-icon.svg) 







 How do I get started? 

Each service supports either a Lite plan or a free trial that you can use to try its service capabilities for free. Get started by creating an instance of a service from the IBM Cloud catalog.



* [Key Protect](https://cloud.ibm.com/catalog/services/key-protect)
* [Hyper Protect Crypto Services](https://cloud.ibm.com/catalog/services/hs-crypto)
* [Secrets Manager](https://cloud.ibm.com/catalog/services/secrets-manager)
* Log out of IBM Cloud®. Clear your browser cache and cookies to remove your preferences and then log in again and open Cloud Shell.
* Check whether [Concurrent sessions](https://cloud.ibm.com/docs/account?topic=account-iam-work-sessions&interface=uisessions-concurrent) is set. If so, ensure that the number of logged in sessions for the account does not exceed the Limit sessions value.







 Why can't I work with my Kubernetes clusters from my session? 

 What’s happening 

You want to work with your IBM Cloud® Kubernetes Service clusters, but when you run a command such as kubectl get pods, the following error is displayed:

$ kubectl get pods
The connection to the server localhost:8080 was refused - did you specify the correct host or port?

 Why it’s happening 

The cluster isn't currently set as the context. As with your local development environment, the cluster context must be set for each individual session.

 How to fix it 

Set the cluster as the context in your session as described in [Configuring the CLI to run kubectl](https://cloud.ibm.com/docs/containers?topic=containers-cs_cli_installcs_cli_configure).





 What do I do if I changed my .bashrc file and my sessions don't work? 

 What’s happening 

You customized your Cloud Shell sessions by editing the .bashrc file, and now your sessions don't open. As a result, you can't work in Cloud Shell.

 Why it’s happening 

Some code in your .bashrc file isn't working correctly, and it's interfering with your sessions' ability to initialize.

 How to fix it 

If you're able to run commands from an existing open session, [download any files](https://cloud.ibm.com/docs/cloud-shell?topic=cloud-shell-files) that you want to keep. Then, restart Cloud Shell by going to the Cloud Shell menu and clicking Restart.





 Why do I keep losing my connection to Cloud Shell?
* Performance degrades because it takes more work for IBM Cloudant to respond to each request since it has to go through all the conflicted documents to find the "best possible" version.







 How do I resolve conflicts? 

After you find a conflict, follow these four steps to resolve it.



1. [Get](https://cloud.ibm.com/docs/services/Cloudant?topic=Cloudant-document-versioning-and-mvccget-conflicting-revisions-mvcc) the conflicting revisions.
2. [Merge](https://cloud.ibm.com/docs/services/Cloudant?topic=Cloudant-document-versioning-and-mvccmerge-the-changes-mvcc) them into your application or ask the owner what to do.
3. [Upload](https://cloud.ibm.com/docs/services/Cloudant?topic=Cloudant-document-versioning-and-mvccupload-the-new-revision-mvcc) the new revision.
4. [Delete](https://cloud.ibm.com/docs/services/Cloudant?topic=Cloudant-document-versioning-and-mvccdelete-old-revisions-mvcc) old revisions.
Disconnected use for Satellite components 

Certain features of IBM Cloud Satellite® can be used while disconnected temporarily. See the following table to understand the disconnected use for these components.



 Understanding disconnected usage 

What does disconnected usage mean?
: When Satellite Locations and Red Hat OpenShift on IBM Cloud are disconnected from the parent managed-from region in IBM Cloud, they can still run with some limitations for a certain amount of time. The limitations of disconnected usage include no security fixes and no alerts. For more information, see [Disconnected usage by component](https://cloud.ibm.com/docs/satellite?topic=satellite-disconnected-usedisconnect-usage-component).

Are there additional requirements for disconnected usage?
: Your location should still maintain network connection.

How do I set how long my access token is valid for?
: Edit the value of the accessTokenMaxAgeSeconds parameter to set the token validity in seconds. For more information, see [Setting the disconnected usage time](https://cloud.ibm.com/docs/satellite?topic=satellite-disconnected-usedisconnect-time).

What happens when my token expires?
: After your token expires, you will lose the ability to work with the Location. When you run a command, you will get error messages such as error: You must be logged in to the server (Unauthorized). To recover, you must reconnect the Location and log in again to retrieve a new token. Do not reload nodes before the Location is reconnected. Reloading nodes while the Location is disconnected prevents the Location from recovering.

Do I need to re-create the Location?
: No, you don't need to re-create the Location. You can reconnect the existing Location and reauthenticate to continue working with your Location.

How do I reauthenticate?
: Reconnect your Location first and then log in again with your credentials.

Do I have to recover etcd backup?
: No, you don't need to recover etcd backup. The Location recovers automatically after you reconnect it and reauthenticate.
Refer to the [Logging and Debugging in Data Security Broker section](https://cloud.ibm.com/docs/security-broker?topic=security-broker-sb_logging).

How do I add multiple Data Security Broker Shields?

Yes, you can install multiple instances of the Data Security Broker Shields using the IBM Cloud Catalog. Ensure that you have specified different Shield names during the installation for each Shield.

How is the load balanced between Shield instances?

Load balancing between Shield instances is managed by OpenShift load balancing policies.

What kind of delays should I expect with the Shield acting as a proxy?

The environment, network latency, and network architecture that manage the database and CDSB components all play a role in this. The delay is only a few milliseconds.

How do I add more users to the account?

Refer to the [Adding users in Data Security Broker Manager section](https://cloud.ibm.com/docs/security-broker?topic=security-broker-sb_adding_users).

How do I add users without SMTP accounts?

You can choose "Get invite link" to create a URL that can be shared through any messaging service.
In order to proceed with this tutorial, it is vital that you have completed the following prerequisites:



1. Basic knowledge of MFT : to get a basic understanding on how MFT works with IBM MQ, refer to [How does MFT work with IBM MQ?](https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_9.0.0/com.ibm.wmqfte.doc/how_stuff_works.htm) in IBM Knowledge Center.

for more detail of MFT refer to [Managed File Transfer](https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_9.0.0/com.ibm.wmqfte.doc/wmqfte_intro.htm) in IBM Knowledge Center.
2. Create an 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) Having followed the guided tour, or the manual steps provided on the same page, or if you will use an existing MQ on Cloud queue manager, 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





3. IBM MQ Client : To complete this tutorial you will require the IBM MQ command line tool 'runmqsc' installed and on your PATH. If you do not have these commands, you can get them by installing the IBM MQ Client. Appendix 3 at the end of this tutorial details how to do this.
4.
The submitted job details page lists any commands or arguments that are defined for the submitted job run. The sequence in the commands and arguments is important.
* With the CLI, use the view details of the submitted job run by using the [ibmcloud ce jobrun get](https://cloud.ibm.com/docs/codeengine?topic=codeengine-clicli-jobrun-get) command. The sequence in the commands and arguments is important.





If these solutions do not solve your issue, for further debugging, try retrieving the logs or the system event information for your job run. For more information, see [How do I get logs for my job run instances?](https://cloud.ibm.com/docs/codeengine?topic=codeengine-troubleshoot-jobts-jobrun-gettinglogs) and [How do I get system event information for my job run instances? (CLI)](https://cloud.ibm.com/docs/codeengine?topic=codeengine-troubleshoot-jobts-job-gettingevent).

For more information about running jobs, see [Running jobs](https://cloud.ibm.com/docs/codeengine?topic=codeengine-job-plan).