The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
docs ft api
Ishaan Jaff8cc7328c503c
diff --git a/docs/my-website/docs/fine_tuning.md b/docs/my-website/docs/fine_tuning.mdindex b29a6229bb4..f31ae4ed3a2 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()```</TabItem>+<TabItem value="curl" label="curl">++```shell+curl http://localhost:4000/v1/files \+ -H "Authorization: Bearer sk-1234" \+ -F purpose="batch" \+ -F custom_llm_provider="azure"\+ -F file="@mydata.jsonl"+```+</TabItem></Tabs>## Create fine-tuning job@@ -74,6 +84,20 @@ ft_job = await client.fine_tuning.jobs.create()```</TabItem>++<TabItem value="curl" label="curl">++```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"+ }'+```+</TabItem></Tabs>## 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))```</TabItem>++<TabItem value="curl" label="curl">++```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"}'+```+</TabItem>+</Tabs>## List fine-tuning jobs@@ -108,6 +143,15 @@ print("list of ft jobs={}".format(list_ft_jobs))```</TabItem>+<TabItem value="curl" label="curl">++```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"+```+</TabItem>+</Tabs>