microsoft / TaskWeaver

A code-first agent framework for seamlessly planning and executing data analytics tasks.
https://microsoft.github.io/TaskWeaver/
MIT License
5k stars 636 forks source link

could i use taskweaver by api? #371

Open colorButton opened 1 week ago

liqul commented 1 week ago

what do you mean by 'use taskweaver by api'? running a service and call it via an api?

srikar-kodakandla commented 1 week ago

yes, I am also looking for an answer for it. I am looking to run it as a service and call it via an api?

srikar-kodakandla commented 1 week ago

Contributor yes, I am also looking for an answer for it. I am looking to run it as a service and call it via an api?

liqul commented 1 week ago

This is not available today. We currently consider TaskWeaver more like a personal assistant (via the CLI) or shared between a small group of users (via the web UI). There is tons of work to do to make it a scalable service and we are lacking of such resources.

ShilinHe commented 1 week ago

Hi, we use chainlit to pack TaskWeaver as a web application, and it supports api endpoint call. You may find more details in their doc. You need to implement the api call in the playground/UI/app.py to support this feature.