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

When will asynchronous support be available #112

Open
sue2xlh opened this issue Aug 8, 2023 · 2 comments
Open

When will asynchronous support be available #112

sue2xlh opened this issue Aug 8, 2023 · 2 comments

Comments

@sue2xlh
Copy link

sue2xlh commented Aug 8, 2023

HI, Thank you for your work. I would like to inquire about when will asynchronous support be available

@yyiilluu
Copy link
Contributor

yyiilluu commented Aug 9, 2023

thank you for your interest in this. this can be up for debate. the original purpose of autochain is creating something simple that people have very easy time to go through and experiment. adding async request would be more towards productionizing this repo, which could make custom exploration more challenging

@hooman-bayer
Copy link

hooman-bayer commented Aug 9, 2023

@yyiilluu This is a great library and props to you for releasing it. Here are my two cents on this. I would like to challenge what you mentioned. If the idea is only for exploration:

  1. I would personally say LangChain Agents are already good enough for that purpose. LangChain agents provide both sync and async options which provides the flexibility to some extent. Now I understand that AutoChain is easier to get started with and add long term memory
  2. Agents take a long time to run, both async and streaming options enable continous feedback from each tool which is essential.
  3. What is the purpose of Agent evaluation in this library then? It more resembles unit tests that are often helpful for production settings.
  4. I think it is extremely easy to build Agent prototypes that do not support async and streaming (here is a repo creating one in around 100 lines of code). I think the trick is how to make a simple modular library for agents that support async and streaming.

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

3 participants