text_preprocessing
llmfy.llmfy_utils.text_preprocessing.text_preprocessing
clean_text_for_embedding(text)
Light cleaning for embeddings/vector search
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
text
|
str
|
text to clean. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
cleaned text |