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

Run once and reuse? #1062

Open
Explosion-Scratch opened this issue Oct 26, 2024 · 6 comments
Open

Run once and reuse? #1062

Explosion-Scratch opened this issue Oct 26, 2024 · 6 comments
Labels
question Further information is requested

Comments

@Explosion-Scratch
Copy link

The most useful application of Skyvern imo would be to have it run once (or once in a while) then reuse the workflow it generates. Could it be made to generate puppeteer code? Or some sort of YAML file that doesn't need AI to run again?

This would help significantly to cut costs and have more reliability while still benefiting from the AI integration

@cdelgadob
Copy link

cdelgadob commented Oct 26, 2024 via email

@suchintan
Copy link
Contributor

We have this in beta right now. If you create a task block inside workflows, there's a "cache" option under advanced

Cached actions don't use LLMs under the hood!

@suchintan suchintan added the question Further information is requested label Oct 26, 2024
@cdelgadob
Copy link

cdelgadob commented Oct 26, 2024 via email

@suchintan
Copy link
Contributor

Yeah exactly. If the cache fails, it falls back to the LLM and adds the successful thing to the cache

@Explosion-Scratch
Copy link
Author

We have this in beta right now. If you create a task block inside workflows, there's a "cache" option under advanced

Cached actions don't use LLMs under the hood!

Does the cache option allow different inputs each time? Or does it just run the exact same thing again? E.g. filling out the same form with different values. Also is there a way to export and import this?

Copy link
Contributor

  1. It allows for different inputs
  2. If you go to the workflows page, you should see the option to export a specific workflow as YAML or JSON — is that what you're looking for?

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

No branches or pull requests

3 participants