diff --git a/website/docs/Use-Cases/Auto-Generation.md b/website/docs/Use-Cases/Auto-Generation.md index 65a087eeb..aba25e6d5 100644 --- a/website/docs/Use-Cases/Auto-Generation.md +++ b/website/docs/Use-Cases/Auto-Generation.md @@ -103,7 +103,6 @@ The returned `config` contains the optimized configuration and `analysis` contai One can use [`flaml.oai.Completion.create`](../reference/autogen/oai/completion#create) to perform inference. There are a number of benefits of using `flaml.oai.Completion.create` to perform inference. -A template is either a format str, or a function which produces a str from several input fields. ### API unification @@ -125,6 +124,8 @@ If the provided prompt or message is a template, it will be automatically materi response = oai.Completion.create(problme=problem, prompt="{problem} Solve the problem carefully.", **config) ``` +A template is either a format str, or a function which produces a str from several input fields. + ## Other utilities ### Completion