fixed sentence misplace #998 (#1010)

This commit is contained in:
Anupam 2023-04-26 20:52:33 +05:45 committed by GitHub
parent e9cd6a058c
commit a8752b6aa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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