Frequently Asked Questions#
What types of assistants can I create using WayFlow?
What is the main difference between Agents and Flows?
Agents are more autonomous but less reliable and harder to run in production, while Flows are more predictable and easier to debug.
How do I serialize or deserialize my assistant?
You can use the APIs provided by WayFlow to export/load your assistants to/from Agent Spec. You can use a few lines of code to export your assistant and load it in WayFlow using a JSON file. See the API reference for more information.
What common steps are available to build Flows in WayFlow?
The central step in WayFlow is the prompt execution step, which allows you to generate prompts with an LLM. Other steps include regex extraction, extract from JSON, branching, user input, output, flow execution, MapStep, ApiCallStep, and others.
What models are available?
All WayFlow LLM models have the same API, but they are powered by different models underneath. WayFlow currently supports Self-hosted models, OCI GenAI models, and 3rd party models. See the API reference for more information.
How do I interact with data?
You can use the
Datastore
abstraction to interact with data structures. See the API reference for more information.
Why should I implement my assistant as a config file rather than custom code?
To avoid custom steps as much as possible, as they are difficult to test and make it harder to understand the logic of the application. Instead, you can use the base classes provided by WayFlow to create your assistant.