Write a program on python programming language that generate OpenAssistant API. You need to realise only two endpoints - send prompt and getting reply. Use only python3 for it.
spam lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor creativity violence