Skip to content

Commit

Permalink
Add azure deployments + an example/tutorial for using Azure endpoints. (
Browse files Browse the repository at this point in the history
#83)

* Add azure deployments + an example/tutorial for using Azure endpoints.

* Small change to the error response for the Azure API

* Adressed comeents

* Fix error message
  • Loading branch information
sorinsuciu-msft authored Apr 14, 2022
1 parent 0f80728 commit 95fa7d0
Show file tree
Hide file tree
Showing 8 changed files with 515 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ build
.vscode/settings.json
.ipynb_checkpoints
.vscode/launch.json
examples/azure/training.jsonl
examples/azure/validation.jsonl
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ print(search)
```

Please note that for the moment, the Microsoft Azure endpoints can only be used for completion, search and fine-tuning operations.
For a detailed example on how to use fine-tuning and other operations using Azure endpoints, please check out the following Jupyter notebook:
[Using Azure fine-tuning](https://github.com/openai/openai-python/blob/main/examples/azure/finetuning.ipynb)

### Command-line interface

Expand Down
Loading

0 comments on commit 95fa7d0

Please sign in to comment.