IBM Watsonx
Prerequisite
- Register an account on IBM Watsonx
- Create a new project:
- After project has been created, back to the main dashboard, and click Explore foundation models:
- Choose the model you would like to use and open in Prompt Lab:
- From the top right corner, click on View Code:
- 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
- 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
- Fill in the Model with the Model ID earlier. Create New Credential and fill in all the details.
- Voila ๐, you can now use ChatIBMWatsonx node in SamaFlow!