Files
letta-server/letta/services/file_processor/parser/base_parser.py
Kian Jones b8e9a80d93 merge this (#4759)
* wait I forgot to comit locally

* cp the entire core directory and then rm the .git subdir
2025-09-17 15:47:40 -07:00

10 lines
238 B
Python

from abc import ABC, abstractmethod
class FileParser(ABC):
"""Abstract base class for file parser"""
@abstractmethod
async def extract_text(self, content: bytes, mime_type: str):
"""Extract text from PDF content"""