class ProxyClientChat(_ProxyClient):
    """Proxy class to be able to call `client.chat.completion.create(...)` as OpenAI client."""

    @property
    def completions(self) -> "ProxyClientChatCompletions":
        return ProxyClientChatCompletions(self._client)
/Users/nielsrogge/Documents/python_projecten/huggingface_hub/src/huggingface_hub/inference/_client.py