def __init__(
        self,
        *,
        client: AsyncOpenAI = None,
        model: str = "gpt-3.5-turbo",
        stream: bool = False,
        system: str = None,
        **create_kwargs: dict[str, Any],
    ):
        """Constructor method.

        Args:
            client: An AsyncOpenAI instance.
            model: The model to use for completions.
            stream: Whether to stream completions.
            system: A system message to prepend to the messages.
            **create_kwargs: Keyword arguments to pass to the `chat.completions.create` method.
        """
        super().__init__(client=client)

        self.model = model
        self.stream = stream
        self.system = SystemMessage(content=system) if system else None
        self.create_kwargs = create_kwargs
Constructor method.

        Args:
            client: An AsyncOpenAI instance.
            model: The model to use for completions.
            stream: Whether to stream completions.
            system: A system message to prepend to the messages.
            **create_kwargs: Keyword arguments to pass to the `chat.completions.create` method.
        
lanarky/adapters/openai/resources.py