diff --git a/src/distilabel/typing.py b/src/distilabel/typing.py new file mode 100644 index 000000000..5d92e7d30 --- /dev/null +++ b/src/distilabel/typing.py @@ -0,0 +1,55 @@ +# Copyright 2023-present, Argilla, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +from distilabel.llms.typing import GenerateOutput +from distilabel.pipeline.typing import ( + DownstreamConnectable, + DownstreamConnectableSteps, + InputDataset, + PipelineRuntimeParametersInfo, + StepLoadStatus, + UpstreamConnectableSteps, +) +from distilabel.steps.tasks.typing import ( + ChatItem, + ChatType, + FormattedInput, + InstructorStructuredOutputType, + OutlinesStructuredOutputType, + StandardInput, + StructuredInput, + StructuredOutputType, +) +from distilabel.steps.typing import GeneratorStepOutput, StepColumns, StepOutput + +__all__ = [ + "GenerateOutput", + "DownstreamConnectable", + "DownstreamConnectableSteps", + "InputDataset", + "PipelineRuntimeParametersInfo", + "StepLoadStatus", + "UpstreamConnectableSteps", + "ChatItem", + "ChatType", + "FormattedInput", + "InstructorStructuredOutputType", + "OutlinesStructuredOutputType", + "StandardInput", + "StructuredInput", + "StructuredOutputType", + "GeneratorStepOutput", + "StepColumns", + "StepOutput" +]