Create a chat completion

Sends a request for a model response for the given chat conversation. Supports both streaming and non-streaming modes.