# coding: utf-8

"""
    Docling Serve

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

    The version of the OpenAPI document: 
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""  # noqa: E501


from __future__ import annotations
import json
from enum import Enum
from typing_extensions import Self


class ProcessingPipeline(str, Enum):
    """
    Available document processing pipeline types for different use cases.  Each pipeline is optimized for specific document types and processing requirements. Select the appropriate pipeline based on your input format and desired output.  Attributes:     LEGACY: Legacy pipeline for backward compatibility with older document processing workflows.     STANDARD: Standard pipeline for general document processing (PDF, DOCX, images, etc.) with layout analysis.     VLM: Vision-Language Model pipeline for advanced document understanding using multimodal AI models.     ASR: Automatic Speech Recognition pipeline for audio and video transcription to text.
    """

    """
    allowed enum values
    """
    LEGACY = 'legacy'
    STANDARD = 'standard'
    VLM = 'vlm'
    ASR = 'asr'

    @classmethod
    def from_json(cls, json_str: str) -> Self:
        """Create an instance of ProcessingPipeline from a JSON string"""
        return cls(json.loads(json_str))


