send_prompt function

Send a prompt to a LLM provider