mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
test - async ft jobs
This commit is contained in:
parent
106626f224
commit
c9bea3a879
3 changed files with 54 additions and 3 deletions
|
@ -53,7 +53,9 @@ class OpenAIFineTuningAPI(BaseLLM):
|
|||
create_fine_tuning_job_data: FineTuningJobCreate,
|
||||
openai_client: AsyncOpenAI,
|
||||
) -> FineTuningJob:
|
||||
response = await openai_client.batches.create(**create_fine_tuning_job_data)
|
||||
response = await openai_client.fine_tuning.jobs.create(
|
||||
**create_fine_tuning_job_data
|
||||
)
|
||||
return response
|
||||
|
||||
def create_fine_tuning_job(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue