From a8752b6aa0eaf93a031882b4f23d15a56555cc67 Mon Sep 17 00:00:00 2001 From: Anupam <35479077+luckyklyist@users.noreply.github.com> Date: Wed, 26 Apr 2023 20:52:33 +0545 Subject: [PATCH] fixed sentence misplace #998 (#1010) --- website/docs/Use-Cases/Auto-Generation.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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