Create text completion (OpenAI compatible)

Create a text completion using the OpenAI-compatible completions API format.