feat: add omml api
This commit is contained in:
@@ -47,14 +47,3 @@ class ImageOCRResponse(BaseModel):
|
||||
layout_info: LayoutInfo = Field(default_factory=LayoutInfo)
|
||||
recognition_mode: str = Field("", description="Recognition mode used: mixed_recognition or formula_recognition")
|
||||
|
||||
|
||||
class LatexToOmmlRequest(BaseModel):
|
||||
"""Request body for LaTeX to OMML conversion endpoint."""
|
||||
|
||||
latex: str = Field(..., description="Pure LaTeX formula (without $ or $$ delimiters)")
|
||||
|
||||
|
||||
class LatexToOmmlResponse(BaseModel):
|
||||
"""Response body for LaTeX to OMML conversion endpoint."""
|
||||
|
||||
omml: str = Field("", description="OMML (Office Math Markup Language) representation")
|
||||
|
||||
Reference in New Issue
Block a user