Community Tip - You can change your system assigned username to something more personal in your community settings. X
can we do Generative AI with Thing Worx integration? if yes. what are the ways to achieve that. suggest some use cases.
Thanks in advance!!
Solved! Go to Solution.
Depends on what you want to do. When you already have a webapp, you can "integrate" it into your mashup using Web Frame. But you're looking for more.
Most of the Gen AI stuff comes in Python code.
Some comes in JS but you can't use that in TWX service code directly due to the limitations for importing libraries, the Rhino engines capabilities and also because you wouldn't want to run GenAI stuff in TWX core.
So the easiest way to go is to create your GenAI code in Python, then slap a REST API onto it (e.g. with FastAPI/Uvicorn) and call those service via ContentLoader from TWX. It's a nice separation and you can run it wherever you want.
Depends on what you want to do. When you already have a webapp, you can "integrate" it into your mashup using Web Frame. But you're looking for more.
Most of the Gen AI stuff comes in Python code.
Some comes in JS but you can't use that in TWX service code directly due to the limitations for importing libraries, the Rhino engines capabilities and also because you wouldn't want to run GenAI stuff in TWX core.
So the easiest way to go is to create your GenAI code in Python, then slap a REST API onto it (e.g. with FastAPI/Uvicorn) and call those service via ContentLoader from TWX. It's a nice separation and you can run it wherever you want.