Skip to content

Commit

Permalink
azure oai (microsoft#920)
Browse files Browse the repository at this point in the history
* azure oai

* price update in notebook

* text Davinci

* pytorch-lightning version

* trigger action in merge queue

* types

* doc check in mege group
  • Loading branch information
sonichi authored Feb 16, 2023
1 parent d62ffda commit a8a89c2
Show file tree
Hide file tree
Showing 6 changed files with 312 additions and 597 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ on:
- 'website/*'
- '.github/workflows/deploy-website.yml'
workflow_dispatch:
merge_group:
types: [checks_requested]

jobs:
checks:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ on:
- 'notebook/**'
- '.github/workflows/python-package.yml'
- 'setup.py'
merge_group:
types: [checks_requested]

jobs:
build:
Expand Down
4 changes: 2 additions & 2 deletions flaml/integrations/oai/completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ class Completion:
"text-ada-001": 0.0004,
"text-babbage-001": 0.0005,
"text-curie-001": 0.002,
"code-cushman-001": 0.002, # TODO: update when available
"code-davinci-002": 0.02, # TODO: update when available
"code-cushman-001": 0.024,
"code-davinci-002": 0.1,
"text-davinci-002": 0.02,
"text-davinci-003": 0.02,
}
Expand Down
Loading

0 comments on commit a8a89c2

Please sign in to comment.