diff --git a/docs/my-website/docs/fine_tuning.md b/docs/my-website/docs/fine_tuning.md
index b29a6229bb..f31ae4ed3a 100644
--- a/docs/my-website/docs/fine_tuning.md
+++ b/docs/my-website/docs/fine_tuning.md
@@ -59,6 +59,16 @@ response = await client.files.create(
)
```
+
+
+```shell
+curl http://localhost:4000/v1/files \
+ -H "Authorization: Bearer sk-1234" \
+ -F purpose="batch" \
+ -F custom_llm_provider="azure"\
+ -F file="@mydata.jsonl"
+```
+
## Create fine-tuning job
@@ -74,6 +84,20 @@ ft_job = await client.fine_tuning.jobs.create(
)
```
+
+
+
+```shell
+curl http://localhost:4000/v1/fine_tuning/jobs \
+ -H "Content-Type: application/json" \
+ -H "Authorization: Bearer sk-1234" \
+ -d '{
+ "custom_llm_provider": "azure",
+ "model": "gpt-35-turbo-1106",
+ "training_file": "file-abc123"
+ }'
+```
+
## Cancel fine-tuning job
@@ -91,6 +115,17 @@ cancel_ft_job = await client.fine_tuning.jobs.cancel(
print("response from cancel ft job={}".format(cancel_ft_job))
```
+
+
+
+```shell
+curl -X POST http://localhost:4000/v1/fine_tuning/jobs/ftjob-abc123/cancel \
+ -H "Authorization: Bearer sk-1234" \
+ -H "Content-Type: application/json" \
+ -d '{"custom_llm_provider": "azure"}'
+```
+
+
## List fine-tuning jobs
@@ -108,6 +143,15 @@ print("list of ft jobs={}".format(list_ft_jobs))
```
+
+
+```shell
+curl -X GET 'http://localhost:4000/v1/fine_tuning/jobs?custom_llm_provider=azure' \
+ -H "Content-Type: application/json" \
+ -H "Authorization: Bearer sk-1234"
+```
+
+