File: //usr/local/lib/python3.10/dist-packages/openai/resources/__pycache__/embeddings.cpython-310.pyc
o
���g/ � @ sP d dl mZ d dlZd dlZd dlmZmZmZmZ d dl m
Z
d dlZddlm
Z
ddlmZ ddlmZmZmZmZmZ dd lmZmZ dd
lmZ ddlmZmZ ddlm Z m!Z! dd
l"m#Z#m$Z$ ddl%m&Z& ddl'm(Z( ddl)m*Z* ddgZ+G dd� de �Z,G dd� de!�Z-G dd� d�Z.G dd� d�Z/G dd� d�Z0G dd� d�Z1dS )� )�annotationsN)�List�Union�Iterable�cast)�Literal� )�_legacy_response)�embedding_create_params)� NOT_GIVEN�Body�Query�Headers�NotGiven)�is_given�maybe_transform)�cached_property)�numpy� has_numpy)�SyncAPIResource�AsyncAPIResource)�to_streamed_response_wrapper�"async_to_streamed_response_wrapper)�make_request_options)�EmbeddingModel)�CreateEmbeddingResponse�
Embeddings�AsyncEmbeddingsc @ �D e Zd Zeddd��Zed dd��Zeeeddded �d!dd�ZdS )"r �return�EmbeddingsWithRawResponsec 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 ��self� r% �F/usr/local/lib/python3.10/dist-packages/openai/resources/embeddings.py�with_raw_response � zEmbeddings.with_raw_response�EmbeddingsWithStreamingResponsec 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&