Skip to content

Commit

Permalink
fixed sentence misplace #998 (#1010)
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyklyist authored Apr 26, 2023
1 parent e9cd6a0 commit a8752b6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion website/docs/Use-Cases/Auto-Generation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand Down

0 comments on commit a8752b6

Please sign in to comment.