Create text completion

Create a text completion for a given prompt. Supports standard completion parameters compatible with the OpenAI API format.