Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could i use taskweaver by api? #371

Open
colorButton opened this issue Jun 24, 2024 · 11 comments
Open

could i use taskweaver by api? #371

colorButton opened this issue Jun 24, 2024 · 11 comments

Comments

@colorButton
Copy link

No description provided.

@liqul
Copy link
Contributor

liqul commented Jun 25, 2024

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

@srikar-kodakandla
Copy link

srikar-kodakandla commented Jun 25, 2024

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
Copy link

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
Copy link
Contributor

liqul commented Jun 26, 2024

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
Copy link
Collaborator

ShilinHe commented Jun 26, 2024

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.

@SHX9610
Copy link

SHX9610 commented Jul 16, 2024

UI

#386

hi, I found you use chainlit to pack TaskWeaver as a web application, and make it supports api endpoint call.
FastAPI opens a chainlit server, then mock a client for posting message to server

I wonder to know that does your server output the intermediate log to client during the conversation?

@srikar-kodakandla
Copy link

srikar-kodakandla commented Jul 16, 2024 via email

@SHX9610
Copy link

SHX9610 commented Jul 16, 2024

No, it is not providing an intermediate log.

On Tue, Jul 16, 2024, 17:22 NIMING @.> wrote: UI hi, I found you use chainlit to pack TaskWeaver as a web application, and make it supports api endpoint call. FastAPI opens a chainlit server, then mock a client for posting message to server I wonder to know that does your server output the intermediate log to client during the conversation? — Reply to this email directly, view it on GitHub <#371 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALCAKY4MYFEXGRX7W7D2573ZMUCQHAVCNFSM6AAAAABJ2BOIDKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZQGY4TSOBRGM . You are receiving this because you commented.Message ID: @.>

thanks

@shivakharbanda
Copy link

Hi i built a service around task weaver using django channels. If you’re interested i could add you to that repo. You can communicate to taskweaver using websockets.

@SHX9610
Copy link

SHX9610 commented Aug 23, 2024

Hi i built a service around task weaver using django channels. If you’re interested i could add you to that repo. You can communicate to taskweaver using websockets.

I've done the same work as you, but I'm wondering how to stream the processing of a large model in real time.

@shivakharbanda
Copy link

i dont think it will scale as much without changing the internal code of taskweaver but i would love to help you out if you could share some architecture or implementation details of your project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants