vectorize_client.models.extraction_chunking_strategy

Vectorize API (Beta)

API for Vectorize services

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

Do not edit the class manually.

 1# coding: utf-8
 2
 3"""
 4    Vectorize API (Beta)
 5
 6    API for Vectorize services
 7
 8    The version of the OpenAPI document: 0.0.1
 9    Generated by OpenAPI Generator (https://openapi-generator.tech)
10
11    Do not edit the class manually.
12"""  # noqa: E501
13
14
15from __future__ import annotations
16import json
17from enum import Enum
18from typing_extensions import Self
19
20
21class ExtractionChunkingStrategy(str, Enum):
22    """
23    ExtractionChunkingStrategy
24    """
25
26    """
27    allowed enum values
28    """
29    MARKDOWN = 'markdown'
30
31    @classmethod
32    def from_json(cls, json_str: str) -> Self:
33        """Create an instance of ExtractionChunkingStrategy from a JSON string"""
34        return cls(json.loads(json_str))
class ExtractionChunkingStrategy(builtins.str, enum.Enum):
22class ExtractionChunkingStrategy(str, Enum):
23    """
24    ExtractionChunkingStrategy
25    """
26
27    """
28    allowed enum values
29    """
30    MARKDOWN = 'markdown'
31
32    @classmethod
33    def from_json(cls, json_str: str) -> Self:
34        """Create an instance of ExtractionChunkingStrategy from a JSON string"""
35        return cls(json.loads(json_str))

ExtractionChunkingStrategy

MARKDOWN = <ExtractionChunkingStrategy.MARKDOWN: 'markdown'>
@classmethod
def from_json(cls, json_str: str) -> Self:
32    @classmethod
33    def from_json(cls, json_str: str) -> Self:
34        """Create an instance of ExtractionChunkingStrategy from a JSON string"""
35        return cls(json.loads(json_str))

Create an instance of ExtractionChunkingStrategy from a JSON string