frimeet-api-nlp / app /modules /posts /infrastructure /text_preprocessor.py
AlleksDev's picture
Fix: Custom Feed
5c793cc unverified
Raw
History Blame Contribute Delete
184 Bytes
from app.shared.nlp.preprocessing.text import prepare_for_embedding
class SharedTextPreprocessor:
def prepare(self, text: str) -> str:
return prepare_for_embedding(text)