FormattingHelpers
psengine.helpers.helpers.FormattingHelpers
¶
Helpers for formatting related functions.
cleanup_ai_insights
staticmethod
¶
Clean up Recorded Future AI Insights to avoid markdown rendering issues.
PARAMETER | DESCRIPTION |
---|---|
ai_insights
|
AI Insights string to clean.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
str
|
Cleaned-up AI Insights string. |
Source code in psengine/helpers/helpers.py
cleanup_rf_id
staticmethod
¶
Remove the Recorded Future ID prefix from an entity.
PARAMETER | DESCRIPTION |
---|---|
entity
|
entity string to clean up.
TYPE:
|
RETURNS | DESCRIPTION |
---|---|
str
|
Entity string without the Recorded Future ID prefix. |