File: //usr/local/lib/python3.10/dist-packages/openai/resources/chat/__pycache__/chat.cpython-310.pyc
o
���g$
� @ s� d dl mZ ddlmZ ddlmZmZ ddlmZm Z m
Z
mZmZm
Z
ddgZG d d� de�ZG d
d� de�ZG dd� d�ZG d
d� d�ZG dd� d�ZG dd� d�ZdS )� )�annotations� )�cached_property)�SyncAPIResource�AsyncAPIResource� )�Completions�AsyncCompletions�CompletionsWithRawResponse�AsyncCompletionsWithRawResponse� CompletionsWithStreamingResponse�%AsyncCompletionsWithStreamingResponse�Chat� AsyncChatc @ �6 e Zd Zeddd��Zed
dd��Zedd d
��ZdS )r �returnr c C �
t | j�S �N)r �_client��self� r �E/usr/local/lib/python3.10/dist-packages/openai/resources/chat/chat.py�completions �
zChat.completions�ChatWithRawResponsec C � t | �S �a
This property can be used as a prefix for any HTTP method call to return
the raw response object instead of the parsed content.
For more information, see https://www.github.com/openai/openai-python#accessing-raw-response-data-eg-headers
)r r r r r �with_raw_response � zChat.with_raw_response�ChatWithStreamingResponsec C r �z�
An alternative to `.with_raw_response` that doesn't eagerly read the response body.
For more information, see https://www.github.com/openai/openai-python#with_streaming_response
)r r r r r �with_streaming_response"