Most Language AI's work by predicting the next best word to place in a sentence.
The obscure library might be too complex or strange for the AI to understand.

You can try providing the AI with additional documentation about the library and giving detailed explanation about the errors you are receiving.
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence