#Fine tuned models in Zapier
1 messages · Page 1 of 1 (latest)
Hi @vagrant plaza. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
To use your fine-tuned model in an application like Zapier, you would typically make API requests to OpenAI, specifying the name of your fine-tuned model. Once your fine-tuning job is completed, the model should be available right away for inference use. In some cases, it may take several minutes for your model to become ready to handle requests. If requests to your model time out or the model name cannot be found, it is likely because your model is still being loaded. If this happens, try again in a few minutes.
Here is an example of how you might make a request to your fine-tuned model using OpenAI's Python client:
from openai import OpenAI
client = OpenAI()
completion = client.chat.completions.create(
model="ft:gpt-4o-mini:my-org:custom_suffix:id",
messages=[
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Hello!"}
]
)
print(completion.choices[0].message)
In the above code, replace "ft:gpt-4o-mini:my-org:custom_suffix:id" with the name of your fine-tuned model. You can find this name in the fine_tuned_model field when you retrieve the job details on the OpenAI platform.
As for Zapier, it's important to note that the integration of OpenAI's models into Zapier's platform would depend on Zapier's support for these models. If you're not seeing your fine-tuned model in Zapier's options, it might be that Zapier currently does not support fine-tuned models. In this case, you might want to reach out to Zapier's support for more information.
For more details, you can refer to the OpenAI fine-tuning guide (https://platform.openai.com/docs/guides/fine-tuning) and the OpenAI API reference (https://platform.openai.com/docs/api-reference/chat).
Sources:
- OpenAI Fine-tuning Guide (https://platform.openai.com/docs/guides/fine-tuning)
- OpenAI API Reference (https://platform.openai.com/docs/api-reference/chat)
- OpenAI Community Forum (https://community.openai.com/t/979842)
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
@vagrant plaza Kapa.ai is still learning and improving, please let me know how I did by reacting below.