SDK for Db2
A Db2 SDK for connecting to various services is now available. Please see the project documentation fore more information.
It provides SQL connectivity to a whole host of things, including:
- IBM watsonx.ai
- Ollama
- OpenAI and OpenAI-compliant solutions, such as:
- LLaMa.cpp (including native deployment on IBM i)
- Rocket CE
- vLLM
- LM Studio
- Kafka
- Slack
- Twilio (SMS)
- PASE commands
Interacting with the SDK from RPG
Section titled “Interacting with the SDK from RPG”If you need to call SDK functions from RPG, you can use embedded SQL within your RPGLE program:
EXEC SQL VALUES dbsdk_v1.wx_generate('Hello world') INTO :response;