mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
Code Quality Improvement - remove file_apis
, fine_tuning_apis
from /llms
(#7156)
* remove files_apis from /llms * fix imports * move fine tuning api from /llms * fix importing fine tuning handlers * fix imports
This commit is contained in:
parent
40a22eb4c6
commit
1d8956a3d4
6 changed files with 5 additions and 6 deletions
|
@ -15,7 +15,7 @@ import httpx
|
|||
|
||||
import litellm
|
||||
from litellm import client, get_secret_str
|
||||
from litellm.llms.files_apis.azure import AzureOpenAIFilesAPI
|
||||
from litellm.llms.azure.files.handler import AzureOpenAIFilesAPI
|
||||
from litellm.llms.openai.openai import FileDeleted, FileObject, OpenAIFilesAPI
|
||||
from litellm.llms.vertex_ai_and_google_ai_studio.files.handler import (
|
||||
VertexAIFilesHandler,
|
||||
|
|
|
@ -18,9 +18,9 @@ import httpx
|
|||
|
||||
import litellm
|
||||
from litellm._logging import verbose_logger
|
||||
from litellm.llms.fine_tuning_apis.azure import AzureOpenAIFineTuningAPI
|
||||
from litellm.llms.azure.fine_tuning.handler import AzureOpenAIFineTuningAPI
|
||||
from litellm.llms.openai.fine_tuning.handler import OpenAIFineTuningAPI, FineTuningJob, FineTuningJobCreate
|
||||
from litellm.llms.fine_tuning_apis.vertex_ai import VertexFineTuningAPI
|
||||
from litellm.llms.vertex_ai_and_google_ai_studio.fine_tuning.handler import VertexFineTuningAPI
|
||||
from litellm.secret_managers.main import get_secret_str
|
||||
from litellm.types.llms.openai import Hyperparameters
|
||||
from litellm.types.router import *
|
||||
|
|
|
@ -7,7 +7,7 @@ from openai.types.fine_tuning import FineTuningJob
|
|||
|
||||
from litellm._logging import verbose_logger
|
||||
from litellm.llms.base import BaseLLM
|
||||
from litellm.llms.files_apis.azure import get_azure_openai_client
|
||||
from litellm.llms.azure.files.handler import get_azure_openai_client
|
||||
from litellm.types.llms.openai import FineTuningJobCreate
|
||||
|
||||
|
|
@ -9,7 +9,6 @@ import litellm
|
|||
from litellm._logging import verbose_logger
|
||||
from litellm.llms.base import BaseLLM
|
||||
from litellm.llms.custom_httpx.http_handler import (
|
||||
AsyncHTTPHandler,
|
||||
HTTPHandler,
|
||||
get_async_httpx_client,
|
||||
)
|
|
@ -20,7 +20,7 @@ from test_gcs_bucket import load_vertex_ai_credentials
|
|||
|
||||
from litellm import create_fine_tuning_job
|
||||
from litellm._logging import verbose_logger
|
||||
from litellm.llms.fine_tuning_apis.vertex_ai import (
|
||||
from litellm.llms.vertex_ai_and_google_ai_studio.fine_tuning.handler import (
|
||||
FineTuningJobCreate,
|
||||
VertexFineTuningAPI,
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue