The generate and store mode is an all-integrated approach that combines the functionality of both the generate mode and the store mode. This mode is ideal for scenarios where you want to generate responses from different LLM providers and automatically store the messages in one seamless operation.
Streamline your workflow by generating and storing messages in a single step. This integrated approach saves time and reduces complexity in your code.
Automatically store all generated messages for easy tracking, analysis, and auditing. Ensure no important information is lost in the process.
In this mode, you get the benefits of both the generate and store modes:
Make sure to install the SDK of the providers you want to use:
By default when creating a new message using the create
method, the message is generated and stored automatically. You can either provide a custom callback function to recieve the structured message and store it in your database, or use Lira’s built-in storage (and Dashboard) to store the message.
Check out the Store mode for more information on how to configure the store.
The generate and store mode is an all-integrated approach that combines the functionality of both the generate mode and the store mode. This mode is ideal for scenarios where you want to generate responses from different LLM providers and automatically store the messages in one seamless operation.
Streamline your workflow by generating and storing messages in a single step. This integrated approach saves time and reduces complexity in your code.
Automatically store all generated messages for easy tracking, analysis, and auditing. Ensure no important information is lost in the process.
In this mode, you get the benefits of both the generate and store modes:
Make sure to install the SDK of the providers you want to use:
By default when creating a new message using the create
method, the message is generated and stored automatically. You can either provide a custom callback function to recieve the structured message and store it in your database, or use Lira’s built-in storage (and Dashboard) to store the message.
Check out the Store mode for more information on how to configure the store.