From 933bb922455eb34f28a5743fc34ba9d49ff94933 Mon Sep 17 00:00:00 2001 From: Mahmoud Mabrouk Date: Fri, 3 May 2024 16:30:21 +0200 Subject: [PATCH] agenta from cli --- docs/advanced_guides/using_agenta_from_cli.mdx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/advanced_guides/using_agenta_from_cli.mdx b/docs/advanced_guides/using_agenta_from_cli.mdx index 10e085558b..ec090fb9cf 100644 --- a/docs/advanced_guides/using_agenta_from_cli.mdx +++ b/docs/advanced_guides/using_agenta_from_cli.mdx @@ -42,11 +42,13 @@ The CLI will also display the URL of the endpoint, which can be used to test the -## Adding a new configuration +## Adding a multiple variants for one application -In addition to the default configuration specified in the code, you can add more configurations to the application from the CLI. +You can add multiple app variants to a single application using the CLI. This is useful if you want to test different workflows for the same application (i.e. single prompt vs. chain of prompts). To do this, create a new python file containing the new logic, then execute the following command: -Configurations are specified in toml files and always named `.`. To add a new configuration, run the following command: +```bash +agenta variant serve -@devgenix please continue here +``` +In the UI, you'll find the new variant under the same application, labeled `.default`. You can modify the configuration for this variant in the playground and create numerous variants based on it. \ No newline at end of file