watsonx.ai

watsonx.ai

A one-stop, integrated, end- to-end AI development studio

 View Only
  • 1.  Exposing Foundation Model via API

    Posted Thu October 05, 2023 03:02 PM

    Greetings,

    I have just started exploring watsonx.ai and experimenting with the Marketing Email Generation Model. To get a better understanding in terms of solving a use case. I am trying to integrated the existing Marketing Email Generation Model with IBM Cloud Pak for Business Automation. So from ICP4BA, I would like to call this model with an input from a process. How can I expose this as an API via some URL ?

    Thanks 


    #watsonx.ai

    ------------------------------
    Lakshya Agarwal
    ------------------------------


  • 2.  RE: Exposing Foundation Model via API

    Posted Thu October 12, 2023 12:32 PM

    Hi Lakshya -

    Watsonx has a published OpenAPI specification so that it may be used by other services, and there is a a starter kit showing how Watsonx can be invoked via an API, on GitHub: https://github.com/watson-developer-cloud/assistant-toolkit/tree/master/integrations/extensions/starter-kits/language-model-watsonx

    Though the example above integrates watsonx with Watsonx Assistant, Cloud Pak for Business Automation workflow also supports REST services, leading to a similar integration pattern.  For more detail on OpenAPI support with CP4BA, see: https://www.ibm.com/docs/en/cloud-paks/cp-biz-automation/23.0.1?topic=service-openapi-support

    Thanks,

    Brian



    ------------------------------
    Brian Bissell
    ------------------------------