vania-janet/multiturn-rag-retrieval-data huggingface dataset:
Use the [Cost Estimator](https://cloud.ibm.com/estimator/review) to generate a cost estimate based on your projected usage.
* Make sure you have the following access:



* Administrator role in the account to create a trusted profile
* Administrator role on the specific resources to which you are assigning access



* Create a cluster that runs IBM Cloud Kubernetes Service Version 1.21 or later. For information about creating a cluster, see [Getting started with IBM Cloud Kubernetes Service](https://cloud.ibm.com/docs/containers?topic=containers-getting-started).







 Step 1: Create a trusted profile 

First, create your trusted profile:



1. Go to Manage > Access (IAM) in the IBM Cloud console, and select Trusted profiles.
2. Click Create profile.
3. Name the profile Chatbot Project.
4. In the description, list the level of access you want to assign to the profile. This helps you quickly identify different profiles from the list of trusted profiles. In this case:



1. Writer
2. Manager



5. Click Continue.



Make sure that your profile name is short and human readable. For compute resources, the name of the profile is required to get the compute resource token, so a simple name is easier for developers to use in the program.





 Step 2: Establish trust with the Kubernetes cluster 

Now that you created your trusted profile, you want to establish trust with the Kubernetes cluster you created for the project:



1. For trust entity type, select Compute resources.
2. For compute service, select Kubernetes from the list.
3. Select Specific resources to establish trust with one or more existing compute resource instances.
4. Click Add another resource.
5. Select the cluster that you created for this tutorial.
6. Enter the values for the namespace and service account fields.

The Kubernetes namespace and service account names that you enter do not have to exist already.
Notice that since the Base cost per host time-series allotment was not completely used by the agents, 350 of the 500 platform metrics time-series were covered by the base tier. Only the additional 150 platform metrics time-series (500 - 350 = 150)have an additional cost.

150 * 0.08 USD (Tier-1) = 12 USD

The total cost for time-series is 12 USD.



The total monitoring cost per month is 117 USD.

108 USD + 12 USD = 120 USD





 Billing sample 5: Basic usage for Virtual Machine or Bare Metal servers running an agent for non-orchestrated environments 

Consider the following example where you have the following configuration:



* 3 hosts running an agent for non-orchestrated environments



* Host-1 generates 50 custom metrics time-series
* Host-2 generates 100 custom metrics time-series
* Host-3 generates 100 custom metrics time-series





The billing calculation for the month is calculated as follows:



* Base cost per host

The base price per host per month is 9.36 USD.

For 3 hosts, the total base cost is 27 USD.

3 * 9.36 USD = 28.08 USD
* Time-series cost

Time-series are priced based on the tiers. In this scenario you require 250 additional time-series.

50 + 100 + 100 = 250

The result from adding the time series per host defines the tier that is applied for pricing.

250 time-series corresponds to tier 1. The price per host is 0.08 USD for up to 100K time-series per month.

250 * 0.08 USD = 20 USD

The total cost for additional time-series is 20 USD.



The total monitoring cost per month is 48 USD.

28.08 USD + 20 USD = 48.08 USD
The Summary section displays an information dialog box with the promotion code and the free credits information.







 Review price estimate and plan resource 

Your watsonx.data features an elastic scalable computation method with cost per hour that is computed in Resource Units per Hour (RU/Hr). The cost varies depending on the resources that you add. It is important to right size the resources so that you can maximize the promotion credits. Take the time to carefully review the section and select minimum resources to conserve your promotion credits. You can estimate the Resource Unit per Hour consumption of your starter sized watsonx.data by using the pricing estimator in the About tab on the watsonx.dataIBM Cloud® catalog page.

Here, you learn how to review the price estimate and plan the resources.



1. Go to the watsonx.dataIBM Cloud® catalog page.
2. Select the About tab.
3. You can read through the Summary and Features.
4. In the Pricing estimator, you can provide the following inputs and review the Estimate summary so that you can assess the hourly cost for the resource units added.



The provisioning of your engine with the infrastructures (bucket, database) happens after you create the watsonx.data instance. For more information about provisioning, see [Getting started](https://cloud.ibm.com/docs/watsonxdata?topic=watsonxdata-tutorial_hp_introhp_start). The price estimation helps you to have an idea of the hourly resource consumption before you create the watsonx.data instance.



Table 1. Pricing Estimator

 Field Description 

 Coordinator node type Select either storage optimized or compute optimized. Recommend storage optimized to reduce promo credit consumption. 
 Number of coordinator nodes By default, it is one. 
 Resource units Displays the cost per hour for the type and number of coordinator nodes that you selected 
 Worker node type Select either storage optimized or compute optimized. Recommend storage optimized to reduce promo credit consumption. 
 Number of worker nodes By default, it is one. Select the required number of worker nodes.
You can view the days remaining in the commitment, discount, billing method, and billing frequency.
* View a monthly breakdown of the spending history for the commitment. Monthly spending is broken out by month. You can manage your commitment by viewing any change in spending month to month and by viewing your spending trends over time.







 Remaining commitment 

If you don't spend the total committed amount by the end of the commitment term, you are invoiced for the amount that you didn't consume. The graph on the Commitments and subscriptions page provides details about what you've spent toward your overall committed amount, so you can easily track what you've consumed and how much time is left in your commitment.





 Service-level discounts 

In addition to the platform-level discount applied to a commitment, you can receive additional discounts that apply to a service. Discounts on services vary depending on your account type. To view the discounts that are applied to your commitment in the IBM Cloud console, go to Manage > Billing and usage, and select Commitments and subscriptions. In the discounts section, use the table to view your active discounts.

Multiple discounts can't be applied to a single resource.

For more information about service-level discounts, work with [IBM Cloud Sales](https://www.ibm.com/cloud?contactmodule).





 Getting support 

You can get Advanced or Premium support with your Enterprise Savings Plan. The level of support that you select determines the severity that you can assign to support cases and your level of access to the tools available in the Support Center. Both support plans cost just 10% of your annual commitment and usage. To get support, contact [IBM Cloud Sales](https://www.ibm.com/cloud?contactmodule).

For more information about IBM Cloud support plans, see [Basic, Advanced, and Premium Support plans](https://cloud.ibm.com/docs/get-support?topic=get-support-support-plans).
[An image of IaaS and PaaS invoice for the month](https://cloud.ibm.com/docs-content/v1/content/9713d864488177dc6b273b53b7f2383a81f10bc1/billing-usage/images/official-invoice-2.png)

Figure 1.IaaS and PaaS invoice for the month of March.





 Step 2: Identify the recurring charges 

Figure 2 represents the recurring charges. To locate these recurring charges, complete the following steps:



1. In the IBM Cloud console, go to Manage > Billing and usage, and select Invoices.
2. Click the invoice number. For this example, review the table and click the invoice with a 3/1/22 date of issue and recurring type.
3. To download the recurring invoice, click the Download icon ![Download icon](https://cloud.ibm.com/docs-content/v1/content/9713d864488177dc6b273b53b7f2383a81f10bc1/icons/download.svg) and select Excel invoice.
4. Click Email selected documents. You receive an email with the selected documents to the email address of the account that you're logged in to. You can also click the Download icon ![Download icon](https://cloud.ibm.com/docs-content/v1/content/9713d864488177dc6b273b53b7f2383a81f10bc1/icons/download.svg) to download the invoice directly to your device.
5. Open the downloaded file, and click Summary tab.



In this example, the Platform Services charge matches the total on the PaaS final invoice from Figure 1: $5,566.81 USD.
Pricing 

This topic includes information about pricing for the IBM Cloud Monitoring. You can also review the sample scenarios to learn more about the costs of a Monitoring instance.

IBM Cloud Monitoring pricing is based on hourly consumption. You are billed monthly based on the number of connected agents and the agent deployment mode, the number of custom metric time series, extra number of containers per agent and additional API calls above 1M. There are two agent modes: agent for orchestrated environments, and agent for non-orchestrated environments.

All other IBM Cloud Monitoring functionality, including dashboards, panels, and alerts, are included in the base service price and pricing does not vary.

The costs that are provided in this topic are guidelines and do not represent actual costs. They represent a starting point for estimates of costs that would be incurred in environments with a similar configuration. Actual costs can vary by geography. The prices that are used are based on actual prices as of April 1, 2023 and it is possible they can change.



 Before you begin 

Read this section to understand concepts and costs that are associated with the Monitoring service.



* [Service plans](https://cloud.ibm.com/docs/monitoring?topic=monitoring-service_plans).
* [Time-series](https://cloud.ibm.com/docs/monitoring?topic=monitoring-about-timeseries).
* [Sources of custom metrics](https://cloud.ibm.com/docs/monitoring?topic=monitoring-about-collect-metrics).
* [Collecting metrics by infrastructure](https://cloud.ibm.com/docs/monitoring?topic=monitoring-collect-metrics-by-host).







 Consumption charges 

In your monthly usage charges, consumption is measured hourly and your bill breaks down into the following concepts:



Table 2. Billing usage metrics

 Metric Description 

 NODE_HOURS Tracks the number of agents that are running in an agent for orchestrated environments.<br><br>This does not include the agents tracked by LITE_NODE_HOURS<br><br>For example, if you have 1 agent connected continuously, that agent will be billed 720 NODE_HOURS at the end of the month.
A map function might be used to identify the required values.





 Example map function to find purchase total and payment values 

function (doc) {
if (doc.type === 'purchase') {
emit(doc.order_id, doc.total);
} else {
if (doc.type === 'payment') {
emit(doc.order_id, -doc.value);
}
}
}

Use the built-in [_sum reducer](https://cloud.ibm.com/docs/Cloudant?topic=Cloudant-creating-views-mapreducebuilt-in-reduce-functions) to produce output as a ledger of payment events.





 Example of using the built-in _sum reducer, which is queried with ?reduce=false 

{
"total_rows":3,"offset":0,"rows":[
{
"id":"320afa89017426b994162ab004ce3383",
"key":"985522332",
"value":26.46
},
{
"id":"320afa89017426b994162ab004ce3383",
"key":"985522332",
"value":-20
},
{
"id":"320afa89017426b994162ab004ce3383",
"key":"985522332",
"value":-6.46
}
]
}
Show more

Alternatively, you could produce totals that are grouped by order_id.





 Example of totals grouped by order_id, with ?group_level=1 

{
"rows":[
{
"key":"320afa89017426b994162ab004ce3383",
"value":0
}
]
}
See the Reference topic on [Detailed pricing scenarios](https://cloud.ibm.com/docs/blockchain?topic=blockchain-ibp-detailed-pricing) for additional configurations and prices.

Ready to get started? Check out [Getting started with IBM Blockchain Platform](https://cloud.ibm.com/docs/blockchain?topic=blockchain-get-started-ibp) to see the options.





 Default resource allocations 

The values in the following table are useful to estimate the hourly cost of your custom network based on CPU, compute, and storage. These minimum recommended values are sufficient for getting started. As you monitor your network usage, you might find that your actual resource requirements and costs will vary depending on your use case and your security and availability needs.



Table 2. Recommended resources for nodes on IBM Blockchain Platform for IBM Cloud

 Component (all containers) CPU** Memory (GB) Storage (GB) 

 Peer (Hyperledger Fabric v1.4) 1.1 2.8 200 (includes 100GB for peer and 100GB for state database) 
 Peer (Hyperledger Fabric v2.x) 0.7 2.0 200 (includes 100GB for peer and 100GB for state database) 
 CA 0.1 0.2 20 
 Ordering node 0.35 0.7 100 
 Operator 0.1 0.2 0 
 Console 1.2 2.4 10 



Note that when smart contracts are installed on peers that run a Fabric v2.x image, the smart contract is launched in its own pod instead of a separate container on the peer, which accounts for the smaller amount of resources required on the peer.





 Billing 

Your IBM Blockchain Platform billing and invoices are based on the CPU and memory allocation for each node. When you are done with your network and want to avoid any further charges, you need to delete your nodes from the console and then delete your blockchain service instance from IBM Cloud. Storage that was provisioned for the node is automatically deleted when the node is deleted.



 IBM Cloud and IBM Blockchain Platform charges 

If IBM Cloud has your credit card on file, you will be sent a link to view your invoice.
Next, you can add email recipients. You can select up to 10 users from your account to receive email notifications about a service.
5. Enter the dollar amount to set a spending threshold.
6. When you are finished, click Save to save your changes.



You can also set spending notifications for individual services:



1. From the console, go to Manage > Billing and usage, and select Spending notifications.
2. From the Add a service section, click Create.
3. Enter the service name or search from the list to add the service.
4. You can add email recipients. Select up to 10 users from your account to receive email notifications about a service.
5. Next, enter the dollar amount to set a spending threshold.
6. When you are finished, click Save to save your changes.
7. After the spending notification is added for the service, set the Enable option to on for the specific service area to enable email notifications.



Notifications don't include costs for classic infrastructure services.
Dashboards are available only after metrics started to be recorded; it might take a few minutes to initialize.







 Event Streams metrics cost information 

Before you opt in to using Monitoring metrics, be aware of the cost of doing so. The estimated cost depends on the following considerations:



* The Event Streams plan that you use.
* How many unique time series are sent for each plan.
* The number of topics that you created.
* The number of partitions that you created.
* Whether you have topics, partitions, consumers, or all enabled.



Enabling mirroring for Enterprise clusters introduces one more global gauge metric and an extra gauge metric per topic in the target cluster (with the target cluster already emitting metrics in accordance with the preceding table), therefore increasing the costs.

For more information, see [Monitoring pricing](https://cloud.ibm.com/docs/monitoring?topic=monitoring-pricing_plans).





 Event Streams metrics details 

The following tables describe the specific metrics that are provided by Event Streams for each plan.





 Metrics available by service plan 



Table 1. Metrics Available by Plan Names

 Metric name Enterprise Lite Standard 

 [Authentication failures](https://cloud.ibm.com/docs/EventStreams?topic=EventStreams-metricsibm_eventstreams_kafka_authentication_failure_total) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg) 
 [Connected clients software name and version](https://cloud.ibm.com/docs/EventStreams?topic=EventStreams-metricsibm_eventstreams_connected_clients_software_name_and_version) ![Checkmark icon](https://cloud.ibm.com/docs-content/v1/content/e0c3acba1296ff980e76d5db456d53adefaabba4/icons/checkmark-icon.svg)
Click I plan to offer free pricing plans.
4. Click the IBM Digital Provider Agreement link to review the agreement.
5. Select I understand and agree to the IBM Digital Provider Agreement, and click Save.







 Step 2: Provide your service name and type 

When you add a product, you can add a new product or import an existing product from a private catalog. For the purposes of this tutorial, add a new product.



1. Click My Products > Create.
2. Enter the name of your product, for example, Example Corp SaaS Product. Make sure that the name you enter meets the following requirements:



* Use 60 characters or less.
* Don't include "IBM Cloud".
* Don't include the name of your company, former product names, or pricing details.



3. Select Software as a Service as the type of product that you're onboarding, and click Add.

The product type that you select is used for tax assessment purposes.







 Step 3: Confirm your display name and programmatic name for approval 

Your programmatic name is different than the name that you provided in the previous step. It's automatically generated for you and includes your company name. If your company offers multiple products in IBM Cloud, the value of each service name includes both the company name and product name.

Your programmatic name must be approved to create your pricing plans or registering your service broker. You can review and make updates to your programmatic name before you submit it for approval.

Your programmatic name can't be updated after you submit it for review.



1. From the Dashboard tab, click Edit, enter your updates, and click Save.
2. Click Confirm.







 Step 4: Create your service ID 

After your programmatic name is review, you can create your service ID. A service ID is used to identify your service when you communicate with other IBM Cloud services, for example, when you submit metering usage data for your service. For more information, see [Creating and working with service IDs](https://cloud.ibm.com/docs/account?topic=account-serviceids&interface=ui).
After your tax identification number is accepted, you are not charged taxes on any future invoices. The removal of tax charges from your account is not retroactive and can't be refunded.

IBM Cloud complies with all tax regulations. Taxes are assessed based on the laws that correspond to the address on your account.





 How can I monitor spending? 

You can view your monthly runtime and service usage by clicking Manage > Billing and usage > Usage. Learn more in [Viewing your usage](https://cloud.ibm.com/docs/billing-usage?topic=billing-usage-viewingusage).





 Can I receive notifications when my spending reaches specific levels? 

You can set separate spending thresholds for the account, container, runtime, all services, and specific services. You automatically receive notifications when your monthly spending reaches 80%, 90%, and 100% of those thresholds. To set spending notifications, click Manage > Billing and usage and select Spending notifications. For more information, see [Setting spending notifications](https://cloud.ibm.com/docs/billing-usage?topic=billing-usage-spending).

Spending notifications don't stop charges from incurring. You continue to incur charges if your usage exceeds 100% of the spending threshold.





 Does the price of the product that I'm ordering reflect the discounted price? 

Yes, if your account includes any discounts, the price of the product that is displayed in your infrastructure order summary does reflect the discounted price of that product.





 How do I confirm that I received an expected credit? 

Credit might take a few hours to appear in your account. To see whether a credit was added, go to Manage > Billing and usage, and select Usage. The credit might be listed in the Active subscriptions and credits section.

If the credit isn't on the Usage page, go to Invoices and click link with the date for your next recurring invoice. If you don't see the credit on the next recurring invoice, it is not yet added to your account. Check back later to verify that you received the credit.





 How do I get answers to my Startup with IBM questions?
Yes, if your account includes any discounts, the price of the product that is displayed in your infrastructure order summary does reflect the discounted price of that product.
* How do I confirm that I received an expected credit?

Credit might take a few hours to appear in your account. To see whether a credit was added, go to Manage > Billing and usage, and select Usage. The credit might be listed in the Active subscriptions and credits section.

If the credit isn't on the Usage page, go to Invoices and click link with the date for your next recurring invoice. If you don't see the credit on the next recurring invoice, it is not yet added to your account. Check back later to verify that you received the credit.
* How do I get answers to my Startup with IBM questions?

Startup with IBM Program, which was formerly the IBM Global Entrepreneur Program (GEP), is available by going to the [Startup with IBM Program](https://developer.ibm.com/startups/). The awarding and extension of credits through this IBM corporate program isn't directly supported by IBM Cloud Support. If your application to the program is approved, credits might be referred to as the Technology Incubator Program on an IBM Cloud Invoice. For more information about the program and its credits, visit the [Frequently Asked Questions for the Startup with IBM Program](https://developer.ibm.com/startups/faq).
* Where can I find my credits for IBM corporate programs?

Credits for IBM corporate programs, such as Startup with IBM and PartnerWorld, are available within the applicable invoice in IBM Cloud. To view the credits, complete the following steps:



1. In the IBM Cloud console, go to Manage > Billing and usage, and select Invoices.
2. Select an applicable invoice.
3. Find the name of the program listed in the Current Payment Method section to see the monthly credit, applied credit, and remaining credit information.



* How do I get support?

Go to the [Support Center](https://cloud.ibm.com/unifiedsupport/supportcenter) page by clicking the Help icon !