mirror of
https://github.com/microsoft/autogen.git
synced 2025-11-01 10:19:46 +00:00
parent
e9cd6a058c
commit
a8752b6aa0
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user