cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can change your system assigned username to something more personal in your community settings. X

Generative AI with Thing Worx integration

AK_9683641
6-Contributor

Generative AI with Thing Worx integration

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!!

ACCEPTED SOLUTION

Accepted Solutions

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.

View solution in original post

1 REPLY 1

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.

Announcements


Top Tags