Prerequisite
- Register an account on IBM Watsonx
- Create a new project:
-7f23166956e0d890647f71011671880a.png)
-2d4225e9b45c0ee1413eaa7078b07c9a.png)
- After project has been created, back to the main dashboard, and click Explore foundation models:
-c93f23840da6be09b85695284d1140f1.png)
- Choose the model you would like to use and open in Prompt Lab:
-b74d3f6b707adcd60a9662107e0f9d9a.png)
- From the top right corner, click on View Code:
-1771f9f97e85fa9ad2fcae10619ad9b9.png)
- Take note on the
model_id and version parameter. In this case, it is ibm/granite-3-8b-instruct, and the version is 2023-05-29.
- Click the navigation bar from the left side, and click Developer access
-9db1a3e6a098966d5fbea37cafe2c994.png)
- Take note on the
watsonx.ai URL, Project ID and create a new API key from IBM Cloud Console.
- By now, you should have the following information:
- Watsonx.ai URL
- Project ID
- API Key
- Model's version
- Model's ID
Setup
- Chat Models > drag ChatIBMWatsonx node
-ab620d26782df84430ee4c7ca210d45b.png)
- Fill in the Model with the Model ID earlier. Create New Credential and fill in all the details.
-60b5ebd5862651df11d501c0b008637c.png)
- Voila 🎉, you can now use ChatIBMWatsonx node in CiniterFlow!
-255e1b83357675fb3015869d87d5304d.png)