First Commit
This commit is contained in:
@@ -0,0 +1 @@
|
||||
pip
|
||||
@@ -0,0 +1,592 @@
|
||||
Metadata-Version: 2.1
|
||||
Name: openai
|
||||
Version: 1.12.0
|
||||
Summary: The official Python library for the openai API
|
||||
Project-URL: Homepage, https://github.com/openai/openai-python
|
||||
Project-URL: Repository, https://github.com/openai/openai-python
|
||||
Author-email: OpenAI <support@openai.com>
|
||||
License-Expression: Apache-2.0
|
||||
License-File: LICENSE
|
||||
Classifier: Intended Audience :: Developers
|
||||
Classifier: License :: OSI Approved :: Apache Software License
|
||||
Classifier: Operating System :: MacOS
|
||||
Classifier: Operating System :: Microsoft :: Windows
|
||||
Classifier: Operating System :: OS Independent
|
||||
Classifier: Operating System :: POSIX
|
||||
Classifier: Operating System :: POSIX :: Linux
|
||||
Classifier: Programming Language :: Python :: 3.7
|
||||
Classifier: Programming Language :: Python :: 3.8
|
||||
Classifier: Programming Language :: Python :: 3.9
|
||||
Classifier: Programming Language :: Python :: 3.10
|
||||
Classifier: Programming Language :: Python :: 3.11
|
||||
Classifier: Programming Language :: Python :: 3.12
|
||||
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
||||
Classifier: Typing :: Typed
|
||||
Requires-Python: >=3.7.1
|
||||
Requires-Dist: anyio<5,>=3.5.0
|
||||
Requires-Dist: cached-property; python_version < '3.8'
|
||||
Requires-Dist: distro<2,>=1.7.0
|
||||
Requires-Dist: httpx<1,>=0.23.0
|
||||
Requires-Dist: pydantic<3,>=1.9.0
|
||||
Requires-Dist: sniffio
|
||||
Requires-Dist: tqdm>4
|
||||
Requires-Dist: typing-extensions<5,>=4.7
|
||||
Provides-Extra: datalib
|
||||
Requires-Dist: numpy>=1; extra == 'datalib'
|
||||
Requires-Dist: pandas-stubs>=1.1.0.11; extra == 'datalib'
|
||||
Requires-Dist: pandas>=1.2.3; extra == 'datalib'
|
||||
Description-Content-Type: text/markdown
|
||||
|
||||
# OpenAI Python API library
|
||||
|
||||
[](https://pypi.org/project/openai/)
|
||||
|
||||
The OpenAI Python library provides convenient access to the OpenAI REST API from any Python 3.7+
|
||||
application. The library includes type definitions for all request params and response fields,
|
||||
and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx).
|
||||
|
||||
It is generated from our [OpenAPI specification](https://github.com/openai/openai-openapi) with [Stainless](https://stainlessapi.com/).
|
||||
|
||||
## Documentation
|
||||
|
||||
The REST API documentation can be found [on platform.openai.com](https://platform.openai.com/docs). The full API of this library can be found in [api.md](api.md).
|
||||
|
||||
## Installation
|
||||
|
||||
> [!IMPORTANT]
|
||||
> The SDK was rewritten in v1, which was released November 6th 2023. See the [v1 migration guide](https://github.com/openai/openai-python/discussions/742), which includes scripts to automatically update your code.
|
||||
|
||||
```sh
|
||||
pip install openai
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
The full API of this library can be found in [api.md](api.md).
|
||||
|
||||
```python
|
||||
import os
|
||||
from openai import OpenAI
|
||||
|
||||
client = OpenAI(
|
||||
# This is the default and can be omitted
|
||||
api_key=os.environ.get("OPENAI_API_KEY"),
|
||||
)
|
||||
|
||||
chat_completion = client.chat.completions.create(
|
||||
messages=[
|
||||
{
|
||||
"role": "user",
|
||||
"content": "Say this is a test",
|
||||
}
|
||||
],
|
||||
model="gpt-3.5-turbo",
|
||||
)
|
||||
```
|
||||
|
||||
While you can provide an `api_key` keyword argument,
|
||||
we recommend using [python-dotenv](https://pypi.org/project/python-dotenv/)
|
||||
to add `OPENAI_API_KEY="My API Key"` to your `.env` file
|
||||
so that your API Key is not stored in source control.
|
||||
|
||||
## Async usage
|
||||
|
||||
Simply import `AsyncOpenAI` instead of `OpenAI` and use `await` with each API call:
|
||||
|
||||
```python
|
||||
import os
|
||||
import asyncio
|
||||
from openai import AsyncOpenAI
|
||||
|
||||
client = AsyncOpenAI(
|
||||
# This is the default and can be omitted
|
||||
api_key=os.environ.get("OPENAI_API_KEY"),
|
||||
)
|
||||
|
||||
|
||||
async def main() -> None:
|
||||
chat_completion = await client.chat.completions.create(
|
||||
messages=[
|
||||
{
|
||||
"role": "user",
|
||||
"content": "Say this is a test",
|
||||
}
|
||||
],
|
||||
model="gpt-3.5-turbo",
|
||||
)
|
||||
|
||||
|
||||
asyncio.run(main())
|
||||
```
|
||||
|
||||
Functionality between the synchronous and asynchronous clients is otherwise identical.
|
||||
|
||||
## Streaming Responses
|
||||
|
||||
We provide support for streaming responses using Server Side Events (SSE).
|
||||
|
||||
```python
|
||||
from openai import OpenAI
|
||||
|
||||
client = OpenAI()
|
||||
|
||||
stream = client.chat.completions.create(
|
||||
model="gpt-4",
|
||||
messages=[{"role": "user", "content": "Say this is a test"}],
|
||||
stream=True,
|
||||
)
|
||||
for chunk in stream:
|
||||
print(chunk.choices[0].delta.content or "", end="")
|
||||
```
|
||||
|
||||
The async client uses the exact same interface.
|
||||
|
||||
```python
|
||||
from openai import AsyncOpenAI
|
||||
|
||||
client = AsyncOpenAI()
|
||||
|
||||
|
||||
async def main():
|
||||
stream = await client.chat.completions.create(
|
||||
model="gpt-4",
|
||||
messages=[{"role": "user", "content": "Say this is a test"}],
|
||||
stream=True,
|
||||
)
|
||||
async for chunk in stream:
|
||||
print(chunk.choices[0].delta.content or "", end="")
|
||||
|
||||
|
||||
asyncio.run(main())
|
||||
```
|
||||
|
||||
## Module-level client
|
||||
|
||||
> [!IMPORTANT]
|
||||
> We highly recommend instantiating client instances instead of relying on the global client.
|
||||
|
||||
We also expose a global client instance that is accessible in a similar fashion to versions prior to v1.
|
||||
|
||||
```py
|
||||
import openai
|
||||
|
||||
# optional; defaults to `os.environ['OPENAI_API_KEY']`
|
||||
openai.api_key = '...'
|
||||
|
||||
# all client options can be configured just like the `OpenAI` instantiation counterpart
|
||||
openai.base_url = "https://..."
|
||||
openai.default_headers = {"x-foo": "true"}
|
||||
|
||||
completion = openai.chat.completions.create(
|
||||
model="gpt-4",
|
||||
messages=[
|
||||
{
|
||||
"role": "user",
|
||||
"content": "How do I output all files in a directory using Python?",
|
||||
},
|
||||
],
|
||||
)
|
||||
print(completion.choices[0].message.content)
|
||||
```
|
||||
|
||||
The API is the exact same as the standard client instance based API.
|
||||
|
||||
This is intended to be used within REPLs or notebooks for faster iteration, **not** in application code.
|
||||
|
||||
We recommend that you always instantiate a client (e.g., with `client = OpenAI()`) in application code because:
|
||||
|
||||
- It can be difficult to reason about where client options are configured
|
||||
- It's not possible to change certain client options without potentially causing race conditions
|
||||
- It's harder to mock for testing purposes
|
||||
- It's not possible to control cleanup of network connections
|
||||
|
||||
## Using types
|
||||
|
||||
Nested request parameters are [TypedDicts](https://docs.python.org/3/library/typing.html#typing.TypedDict). Responses are [Pydantic models](https://docs.pydantic.dev), which provide helper methods for things like:
|
||||
|
||||
- Serializing back into JSON, `model.model_dump_json(indent=2, exclude_unset=True)`
|
||||
- Converting to a dictionary, `model.model_dump(exclude_unset=True)`
|
||||
|
||||
Typed requests and responses provide autocomplete and documentation within your editor. If you would like to see type errors in VS Code to help catch bugs earlier, set `python.analysis.typeCheckingMode` to `basic`.
|
||||
|
||||
## Pagination
|
||||
|
||||
List methods in the OpenAI API are paginated.
|
||||
|
||||
This library provides auto-paginating iterators with each list response, so you do not have to request successive pages manually:
|
||||
|
||||
```python
|
||||
import openai
|
||||
|
||||
client = OpenAI()
|
||||
|
||||
all_jobs = []
|
||||
# Automatically fetches more pages as needed.
|
||||
for job in client.fine_tuning.jobs.list(
|
||||
limit=20,
|
||||
):
|
||||
# Do something with job here
|
||||
all_jobs.append(job)
|
||||
print(all_jobs)
|
||||
```
|
||||
|
||||
Or, asynchronously:
|
||||
|
||||
```python
|
||||
import asyncio
|
||||
import openai
|
||||
|
||||
client = AsyncOpenAI()
|
||||
|
||||
|
||||
async def main() -> None:
|
||||
all_jobs = []
|
||||
# Iterate through items across all pages, issuing requests as needed.
|
||||
async for job in client.fine_tuning.jobs.list(
|
||||
limit=20,
|
||||
):
|
||||
all_jobs.append(job)
|
||||
print(all_jobs)
|
||||
|
||||
|
||||
asyncio.run(main())
|
||||
```
|
||||
|
||||
Alternatively, you can use the `.has_next_page()`, `.next_page_info()`, or `.get_next_page()` methods for more granular control working with pages:
|
||||
|
||||
```python
|
||||
first_page = await client.fine_tuning.jobs.list(
|
||||
limit=20,
|
||||
)
|
||||
if first_page.has_next_page():
|
||||
print(f"will fetch next page using these details: {first_page.next_page_info()}")
|
||||
next_page = await first_page.get_next_page()
|
||||
print(f"number of items we just fetched: {len(next_page.data)}")
|
||||
|
||||
# Remove `await` for non-async usage.
|
||||
```
|
||||
|
||||
Or just work directly with the returned data:
|
||||
|
||||
```python
|
||||
first_page = await client.fine_tuning.jobs.list(
|
||||
limit=20,
|
||||
)
|
||||
|
||||
print(f"next page cursor: {first_page.after}") # => "next page cursor: ..."
|
||||
for job in first_page.data:
|
||||
print(job.id)
|
||||
|
||||
# Remove `await` for non-async usage.
|
||||
```
|
||||
|
||||
## Nested params
|
||||
|
||||
Nested parameters are dictionaries, typed using `TypedDict`, for example:
|
||||
|
||||
```python
|
||||
from openai import OpenAI
|
||||
|
||||
client = OpenAI()
|
||||
|
||||
completion = client.chat.completions.create(
|
||||
messages=[
|
||||
{
|
||||
"role": "user",
|
||||
"content": "Can you generate an example json object describing a fruit?",
|
||||
}
|
||||
],
|
||||
model="gpt-3.5-turbo-1106",
|
||||
response_format={"type": "json_object"},
|
||||
)
|
||||
```
|
||||
|
||||
## File Uploads
|
||||
|
||||
Request parameters that correspond to file uploads can be passed as `bytes`, a [`PathLike`](https://docs.python.org/3/library/os.html#os.PathLike) instance or a tuple of `(filename, contents, media type)`.
|
||||
|
||||
```python
|
||||
from pathlib import Path
|
||||
from openai import OpenAI
|
||||
|
||||
client = OpenAI()
|
||||
|
||||
client.files.create(
|
||||
file=Path("input.jsonl"),
|
||||
purpose="fine-tune",
|
||||
)
|
||||
```
|
||||
|
||||
The async client uses the exact same interface. If you pass a [`PathLike`](https://docs.python.org/3/library/os.html#os.PathLike) instance, the file contents will be read asynchronously automatically.
|
||||
|
||||
## Handling errors
|
||||
|
||||
When the library is unable to connect to the API (for example, due to network connection problems or a timeout), a subclass of `openai.APIConnectionError` is raised.
|
||||
|
||||
When the API returns a non-success status code (that is, 4xx or 5xx
|
||||
response), a subclass of `openai.APIStatusError` is raised, containing `status_code` and `response` properties.
|
||||
|
||||
All errors inherit from `openai.APIError`.
|
||||
|
||||
```python
|
||||
import openai
|
||||
from openai import OpenAI
|
||||
|
||||
client = OpenAI()
|
||||
|
||||
try:
|
||||
client.fine_tuning.jobs.create(
|
||||
model="gpt-3.5-turbo",
|
||||
training_file="file-abc123",
|
||||
)
|
||||
except openai.APIConnectionError as e:
|
||||
print("The server could not be reached")
|
||||
print(e.__cause__) # an underlying Exception, likely raised within httpx.
|
||||
except openai.RateLimitError as e:
|
||||
print("A 429 status code was received; we should back off a bit.")
|
||||
except openai.APIStatusError as e:
|
||||
print("Another non-200-range status code was received")
|
||||
print(e.status_code)
|
||||
print(e.response)
|
||||
```
|
||||
|
||||
Error codes are as followed:
|
||||
|
||||
| Status Code | Error Type |
|
||||
| ----------- | -------------------------- |
|
||||
| 400 | `BadRequestError` |
|
||||
| 401 | `AuthenticationError` |
|
||||
| 403 | `PermissionDeniedError` |
|
||||
| 404 | `NotFoundError` |
|
||||
| 422 | `UnprocessableEntityError` |
|
||||
| 429 | `RateLimitError` |
|
||||
| >=500 | `InternalServerError` |
|
||||
| N/A | `APIConnectionError` |
|
||||
|
||||
### Retries
|
||||
|
||||
Certain errors are automatically retried 2 times by default, with a short exponential backoff.
|
||||
Connection errors (for example, due to a network connectivity problem), 408 Request Timeout, 409 Conflict,
|
||||
429 Rate Limit, and >=500 Internal errors are all retried by default.
|
||||
|
||||
You can use the `max_retries` option to configure or disable retry settings:
|
||||
|
||||
```python
|
||||
from openai import OpenAI
|
||||
|
||||
# Configure the default for all requests:
|
||||
client = OpenAI(
|
||||
# default is 2
|
||||
max_retries=0,
|
||||
)
|
||||
|
||||
# Or, configure per-request:
|
||||
client.with_options(max_retries=5).chat.completions.create(
|
||||
messages=[
|
||||
{
|
||||
"role": "user",
|
||||
"content": "How can I get the name of the current day in Node.js?",
|
||||
}
|
||||
],
|
||||
model="gpt-3.5-turbo",
|
||||
)
|
||||
```
|
||||
|
||||
### Timeouts
|
||||
|
||||
By default requests time out after 10 minutes. You can configure this with a `timeout` option,
|
||||
which accepts a float or an [`httpx.Timeout`](https://www.python-httpx.org/advanced/#fine-tuning-the-configuration) object:
|
||||
|
||||
```python
|
||||
from openai import OpenAI
|
||||
|
||||
# Configure the default for all requests:
|
||||
client = OpenAI(
|
||||
# 20 seconds (default is 10 minutes)
|
||||
timeout=20.0,
|
||||
)
|
||||
|
||||
# More granular control:
|
||||
client = OpenAI(
|
||||
timeout=httpx.Timeout(60.0, read=5.0, write=10.0, connect=2.0),
|
||||
)
|
||||
|
||||
# Override per-request:
|
||||
client.with_options(timeout=5 * 1000).chat.completions.create(
|
||||
messages=[
|
||||
{
|
||||
"role": "user",
|
||||
"content": "How can I list all files in a directory using Python?",
|
||||
}
|
||||
],
|
||||
model="gpt-3.5-turbo",
|
||||
)
|
||||
```
|
||||
|
||||
On timeout, an `APITimeoutError` is thrown.
|
||||
|
||||
Note that requests that time out are [retried twice by default](#retries).
|
||||
|
||||
## Advanced
|
||||
|
||||
### Logging
|
||||
|
||||
We use the standard library [`logging`](https://docs.python.org/3/library/logging.html) module.
|
||||
|
||||
You can enable logging by setting the environment variable `OPENAI_LOG` to `debug`.
|
||||
|
||||
```shell
|
||||
$ export OPENAI_LOG=debug
|
||||
```
|
||||
|
||||
### How to tell whether `None` means `null` or missing
|
||||
|
||||
In an API response, a field may be explicitly `null`, or missing entirely; in either case, its value is `None` in this library. You can differentiate the two cases with `.model_fields_set`:
|
||||
|
||||
```py
|
||||
if response.my_field is None:
|
||||
if 'my_field' not in response.model_fields_set:
|
||||
print('Got json like {}, without a "my_field" key present at all.')
|
||||
else:
|
||||
print('Got json like {"my_field": null}.')
|
||||
```
|
||||
|
||||
### Accessing raw response data (e.g. headers)
|
||||
|
||||
The "raw" Response object can be accessed by prefixing `.with_raw_response.` to any HTTP method call, e.g.,
|
||||
|
||||
```py
|
||||
from openai import OpenAI
|
||||
|
||||
client = OpenAI()
|
||||
response = client.chat.completions.with_raw_response.create(
|
||||
messages=[{
|
||||
"role": "user",
|
||||
"content": "Say this is a test",
|
||||
}],
|
||||
model="gpt-3.5-turbo",
|
||||
)
|
||||
print(response.headers.get('X-My-Header'))
|
||||
|
||||
completion = response.parse() # get the object that `chat.completions.create()` would have returned
|
||||
print(completion)
|
||||
```
|
||||
|
||||
These methods return an [`LegacyAPIResponse`](https://github.com/openai/openai-python/tree/main/src/openai/_legacy_response.py) object. This is a legacy class as we're changing it slightly in the next major version.
|
||||
|
||||
For the sync client this will mostly be the same with the exception
|
||||
of `content` & `text` will be methods instead of properties. In the
|
||||
async client, all methods will be async.
|
||||
|
||||
A migration script will be provided & the migration in general should
|
||||
be smooth.
|
||||
|
||||
#### `.with_streaming_response`
|
||||
|
||||
The above interface eagerly reads the full response body when you make the request, which may not always be what you want.
|
||||
|
||||
To stream the response body, use `.with_streaming_response` instead, which requires a context manager and only reads the response body once you call `.read()`, `.text()`, `.json()`, `.iter_bytes()`, `.iter_text()`, `.iter_lines()` or `.parse()`. In the async client, these are async methods.
|
||||
|
||||
As such, `.with_streaming_response` methods return a different [`APIResponse`](https://github.com/openai/openai-python/tree/main/src/openai/_response.py) object, and the async client returns an [`AsyncAPIResponse`](https://github.com/openai/openai-python/tree/main/src/openai/_response.py) object.
|
||||
|
||||
```python
|
||||
with client.chat.completions.with_streaming_response.create(
|
||||
messages=[
|
||||
{
|
||||
"role": "user",
|
||||
"content": "Say this is a test",
|
||||
}
|
||||
],
|
||||
model="gpt-3.5-turbo",
|
||||
) as response:
|
||||
print(response.headers.get("X-My-Header"))
|
||||
|
||||
for line in response.iter_lines():
|
||||
print(line)
|
||||
```
|
||||
|
||||
The context manager is required so that the response will reliably be closed.
|
||||
|
||||
### Configuring the HTTP client
|
||||
|
||||
You can directly override the [httpx client](https://www.python-httpx.org/api/#client) to customize it for your use case, including:
|
||||
|
||||
- Support for proxies
|
||||
- Custom transports
|
||||
- Additional [advanced](https://www.python-httpx.org/advanced/#client-instances) functionality
|
||||
|
||||
```python
|
||||
import httpx
|
||||
from openai import OpenAI
|
||||
|
||||
client = OpenAI(
|
||||
# Or use the `OPENAI_BASE_URL` env var
|
||||
base_url="http://my.test.server.example.com:8083",
|
||||
http_client=httpx.Client(
|
||||
proxies="http://my.test.proxy.example.com",
|
||||
transport=httpx.HTTPTransport(local_address="0.0.0.0"),
|
||||
),
|
||||
)
|
||||
```
|
||||
|
||||
### Managing HTTP resources
|
||||
|
||||
By default the library closes underlying HTTP connections whenever the client is [garbage collected](https://docs.python.org/3/reference/datamodel.html#object.__del__). You can manually close the client using the `.close()` method if desired, or with a context manager that closes when exiting.
|
||||
|
||||
## Microsoft Azure OpenAI
|
||||
|
||||
To use this library with [Azure OpenAI](https://learn.microsoft.com/en-us/azure/ai-services/openai/overview), use the `AzureOpenAI`
|
||||
class instead of the `OpenAI` class.
|
||||
|
||||
> [!IMPORTANT]
|
||||
> The Azure API shape differs from the core API shape which means that the static types for responses / params
|
||||
> won't always be correct.
|
||||
|
||||
```py
|
||||
from openai import AzureOpenAI
|
||||
|
||||
# gets the API Key from environment variable AZURE_OPENAI_API_KEY
|
||||
client = AzureOpenAI(
|
||||
# https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#rest-api-versioning
|
||||
api_version="2023-07-01-preview",
|
||||
# https://learn.microsoft.com/en-us/azure/cognitive-services/openai/how-to/create-resource?pivots=web-portal#create-a-resource
|
||||
azure_endpoint="https://example-endpoint.openai.azure.com",
|
||||
)
|
||||
|
||||
completion = client.chat.completions.create(
|
||||
model="deployment-name", # e.g. gpt-35-instant
|
||||
messages=[
|
||||
{
|
||||
"role": "user",
|
||||
"content": "How do I output all files in a directory using Python?",
|
||||
},
|
||||
],
|
||||
)
|
||||
print(completion.model_dump_json(indent=2))
|
||||
```
|
||||
|
||||
In addition to the options provided in the base `OpenAI` client, the following options are provided:
|
||||
|
||||
- `azure_endpoint` (or the `AZURE_OPENAI_ENDPOINT` environment variable)
|
||||
- `azure_deployment`
|
||||
- `api_version` (or the `OPENAI_API_VERSION` environment variable)
|
||||
- `azure_ad_token` (or the `AZURE_OPENAI_AD_TOKEN` environment variable)
|
||||
- `azure_ad_token_provider`
|
||||
|
||||
An example of using the client with Azure Active Directory can be found [here](https://github.com/openai/openai-python/blob/main/examples/azure_ad.py).
|
||||
|
||||
## Versioning
|
||||
|
||||
This package generally follows [SemVer](https://semver.org/spec/v2.0.0.html) conventions, though certain backwards-incompatible changes may be released as minor versions:
|
||||
|
||||
1. Changes that only affect static types, without breaking runtime behavior.
|
||||
2. Changes to library internals which are technically public but not intended or documented for external use. _(Please open a GitHub issue to let us know if you are relying on such internals)_.
|
||||
3. Changes that we do not expect to impact the vast majority of users in practice.
|
||||
|
||||
We take backwards-compatibility seriously and work hard to ensure you can rely on a smooth upgrade experience.
|
||||
|
||||
We are keen for your feedback; please open an [issue](https://www.github.com/openai/openai-python/issues) with questions, bugs, or suggestions.
|
||||
|
||||
## Requirements
|
||||
|
||||
Python 3.7 or higher.
|
||||
@@ -0,0 +1,386 @@
|
||||
../../../bin/openai,sha256=pxdNvnUi8uYa-5qXm7PvHXlIE5Mg528sNFCcIrDFEug,187
|
||||
openai-1.12.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
openai-1.12.0.dist-info/METADATA,sha256=LsoTU8xOf4dZJ5GHjNJhkCKtXGPBRpO54vSUH_vIq0E,18777
|
||||
openai-1.12.0.dist-info/RECORD,,
|
||||
openai-1.12.0.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
openai-1.12.0.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
|
||||
openai-1.12.0.dist-info/entry_points.txt,sha256=kAYhQEmziJwsKs5raYAIOvJ2LWmbz5dulEXOzsY71ro,43
|
||||
openai-1.12.0.dist-info/licenses/LICENSE,sha256=d0M6HDjQ76tf255XPlAGkIoECMe688MXcGEYsOFySfI,11336
|
||||
openai/__init__.py,sha256=lJdxRPeR7073V2kVPso40ArZaCV8qiGVHsQGPRQRnQQ,9140
|
||||
openai/__main__.py,sha256=bYt9eEaoRQWdejEHFD8REx9jxVEdZptECFsV7F49Ink,30
|
||||
openai/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/__pycache__/__main__.cpython-311.pyc,,
|
||||
openai/__pycache__/_base_client.cpython-311.pyc,,
|
||||
openai/__pycache__/_client.cpython-311.pyc,,
|
||||
openai/__pycache__/_compat.cpython-311.pyc,,
|
||||
openai/__pycache__/_constants.cpython-311.pyc,,
|
||||
openai/__pycache__/_exceptions.cpython-311.pyc,,
|
||||
openai/__pycache__/_files.cpython-311.pyc,,
|
||||
openai/__pycache__/_legacy_response.cpython-311.pyc,,
|
||||
openai/__pycache__/_models.cpython-311.pyc,,
|
||||
openai/__pycache__/_module_client.cpython-311.pyc,,
|
||||
openai/__pycache__/_qs.cpython-311.pyc,,
|
||||
openai/__pycache__/_resource.cpython-311.pyc,,
|
||||
openai/__pycache__/_response.cpython-311.pyc,,
|
||||
openai/__pycache__/_streaming.cpython-311.pyc,,
|
||||
openai/__pycache__/_types.cpython-311.pyc,,
|
||||
openai/__pycache__/_version.cpython-311.pyc,,
|
||||
openai/__pycache__/pagination.cpython-311.pyc,,
|
||||
openai/__pycache__/version.cpython-311.pyc,,
|
||||
openai/_base_client.py,sha256=AsCHKbHhnHzJI2iWacwp2UW4PkQRHmxVmNbaz6zGIpw,62655
|
||||
openai/_client.py,sha256=y5jRSdGlyU3pETeufGWkD8Jsy8Pkq70LuMQ9kNopbjQ,20141
|
||||
openai/_compat.py,sha256=m0I0haqFZuVxd5m227_8nNmvA1saXyuNJ7BjidX_PTE,6389
|
||||
openai/_constants.py,sha256=YROUskJny9wAfwGgzmCZj1JTbntEr--eWOZTjvUFD7c,423
|
||||
openai/_exceptions.py,sha256=rWsrI3jGesc9-MkTmCMrfgE3xL_ew0lcmLHoFf-Y5n0,3614
|
||||
openai/_extras/__init__.py,sha256=LZbJLZ7aFHRcI7uiY4-wFQTdMp-BF6FER1QMhKVFkWk,107
|
||||
openai/_extras/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/_extras/__pycache__/_common.cpython-311.pyc,,
|
||||
openai/_extras/__pycache__/numpy_proxy.cpython-311.pyc,,
|
||||
openai/_extras/__pycache__/pandas_proxy.cpython-311.pyc,,
|
||||
openai/_extras/_common.py,sha256=NWWtgbdJsO3hQGQxaXGfVk0LjeIE5AFZ8VS_795hhMc,364
|
||||
openai/_extras/numpy_proxy.py,sha256=hwZXa_JBAPD5taRhor1tGxK26g5IaK52JclQDl-dky0,799
|
||||
openai/_extras/pandas_proxy.py,sha256=NCEt1Dqwc_0H85YdsWPDE3lPDJtYnBT8G-gJE_BCeEc,637
|
||||
openai/_files.py,sha256=Ow1uBpIr0bLnIHxtN-mB4Lsa4uVgNU6wLVOkgqi9Gzc,3470
|
||||
openai/_legacy_response.py,sha256=G7qxl1oDR2FFbtSsmuaZzls8Xupkt2mAUq5b43k9YEM,14903
|
||||
openai/_models.py,sha256=w3FScbvW3ipc94D1v0xKm6kxYNtlbrvJxRfIR18OxZU,16410
|
||||
openai/_module_client.py,sha256=DT9hNYHiZ4UzibIA4xKF3BXmHrujTLO4j-jLFjlfJXI,2280
|
||||
openai/_qs.py,sha256=AOkSz4rHtK4YI3ZU_kzea-zpwBUgEY8WniGmTPyEimc,4846
|
||||
openai/_resource.py,sha256=F_pXU86CNv_FFBPjW7Pwcr4wOkcBaEEkoeQOGrwLlXY,1070
|
||||
openai/_response.py,sha256=5G7n_krdj35W6OBo6Vk5v8N400kYotmNP9dJ0QbstxY,27957
|
||||
openai/_streaming.py,sha256=8WKAwEjZ2sJPacUg7Y0SFMl1j4Dl9ShjPWLWByIW9tA,9034
|
||||
openai/_types.py,sha256=IRRc5iCbW8Xvdjqw9Db8J0eBgwCRUTQLpoYdrsmq1xo,6123
|
||||
openai/_utils/__init__.py,sha256=i0YLE9aVfOHHeYEf4LpCPDyisOp7VfplY9bYPwRTMGM,1727
|
||||
openai/_utils/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/_utils/__pycache__/_logs.cpython-311.pyc,,
|
||||
openai/_utils/__pycache__/_proxy.cpython-311.pyc,,
|
||||
openai/_utils/__pycache__/_streams.cpython-311.pyc,,
|
||||
openai/_utils/__pycache__/_sync.cpython-311.pyc,,
|
||||
openai/_utils/__pycache__/_transform.cpython-311.pyc,,
|
||||
openai/_utils/__pycache__/_typing.cpython-311.pyc,,
|
||||
openai/_utils/__pycache__/_utils.cpython-311.pyc,,
|
||||
openai/_utils/_logs.py,sha256=sFA_NejuNObTGGbfsXC03I38mrT9HjsgAJx4d3GP0ok,774
|
||||
openai/_utils/_proxy.py,sha256=1uak1MAQxxD5JlqNi4KSgcRFR_jpNztZg2JvOwgY1FU,1890
|
||||
openai/_utils/_streams.py,sha256=SMC90diFFecpEg_zgDRVbdR3hSEIgVVij4taD-noMLM,289
|
||||
openai/_utils/_sync.py,sha256=8zEEYfir8iCUcAMFtWd8cDi8NVEaZonc4sfLAYr16io,2269
|
||||
openai/_utils/_transform.py,sha256=NXRItRWJ5xD2jm11RPJsp15cSNBE4m5jyHRybdwZDR0,7223
|
||||
openai/_utils/_typing.py,sha256=tFbktdpdHCQliwzGsWysgn0P5H0JRdagkZdb_LegGkY,3838
|
||||
openai/_utils/_utils.py,sha256=e5llog-VXGkuq2ilmkI63jOZT1bek4Adv2aisyYum2I,11105
|
||||
openai/_version.py,sha256=NErkh-vKrIeKegA3CcM5Ar-dgGCh4hWhZgs4LLh0oKo,126
|
||||
openai/cli/__init__.py,sha256=soGgtqyomgddl92H0KJRqHqGuaXIaghq86qkzLuVp7U,31
|
||||
openai/cli/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/cli/__pycache__/_cli.cpython-311.pyc,,
|
||||
openai/cli/__pycache__/_errors.cpython-311.pyc,,
|
||||
openai/cli/__pycache__/_models.cpython-311.pyc,,
|
||||
openai/cli/__pycache__/_progress.cpython-311.pyc,,
|
||||
openai/cli/__pycache__/_utils.cpython-311.pyc,,
|
||||
openai/cli/_api/__init__.py,sha256=cj92MZq-9_1PQM8A4TQVsqKn5mcTDAGxHllJ0UvJOPE,58
|
||||
openai/cli/_api/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/cli/_api/__pycache__/_main.cpython-311.pyc,,
|
||||
openai/cli/_api/__pycache__/audio.cpython-311.pyc,,
|
||||
openai/cli/_api/__pycache__/completions.cpython-311.pyc,,
|
||||
openai/cli/_api/__pycache__/files.cpython-311.pyc,,
|
||||
openai/cli/_api/__pycache__/image.cpython-311.pyc,,
|
||||
openai/cli/_api/__pycache__/models.cpython-311.pyc,,
|
||||
openai/cli/_api/_main.py,sha256=5yyfLURqCEaAN8B61gHaqVAaYgtyb9Xq0ncQ3P2BAh0,451
|
||||
openai/cli/_api/audio.py,sha256=HZDTRZT-qZTMsg7WOm-djCQlf874aSa3lxRvNG27wLM,3347
|
||||
openai/cli/_api/chat/__init__.py,sha256=MhFUQH9F6QCtbPMlbsU_DWTd7wc5DSCZ7Wy3FBGVij0,300
|
||||
openai/cli/_api/chat/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/cli/_api/chat/__pycache__/completions.cpython-311.pyc,,
|
||||
openai/cli/_api/chat/completions.py,sha256=9Ztetyz7rm0gP5SOPWEcpzFJnJKuIEQit626vOq42bE,5363
|
||||
openai/cli/_api/completions.py,sha256=ysOmnbXpFz3VB5N_5USPdObiYew62vEn6rMtNFwTJGQ,6412
|
||||
openai/cli/_api/files.py,sha256=6nKXFnsC2QE0bGnVUAG7BTLSu6K1_MhPE0ZJACmzgRY,2345
|
||||
openai/cli/_api/image.py,sha256=ovBExdn8oUK9ImOpsPafesfAlmcftLP2p7d37hcUtKU,5062
|
||||
openai/cli/_api/models.py,sha256=pGmIGZToj3raGGpKvPSq_EVUR-dqg4Vi0PNfZH98D2E,1295
|
||||
openai/cli/_cli.py,sha256=WxqTnhVVtfzX0z7hV5fcvd3hkihaUgwOWpXOwyCS4Fc,6743
|
||||
openai/cli/_errors.py,sha256=7BYF2Kp_L6yKsZDNdg-gK71FMVCNjhrunfVVgh4Zy0M,479
|
||||
openai/cli/_models.py,sha256=tgsldjG216KpwgAZ5pS0sV02FQvONDJU2ElA4kCCiIU,491
|
||||
openai/cli/_progress.py,sha256=aMLssU9jh-LoqRYH3608jNos7r6vZKnHTRlHxFznzv4,1406
|
||||
openai/cli/_tools/__init__.py,sha256=cj92MZq-9_1PQM8A4TQVsqKn5mcTDAGxHllJ0UvJOPE,58
|
||||
openai/cli/_tools/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/cli/_tools/__pycache__/_main.cpython-311.pyc,,
|
||||
openai/cli/_tools/__pycache__/fine_tunes.cpython-311.pyc,,
|
||||
openai/cli/_tools/__pycache__/migrate.cpython-311.pyc,,
|
||||
openai/cli/_tools/_main.py,sha256=pakjEXHRHqYlTml-RxV7fNrRtRXzmZBinoPi1AJipFY,467
|
||||
openai/cli/_tools/fine_tunes.py,sha256=RQgYMzifk6S7Y1I1K6huqco2QxmXa7gVUlHl6SrKTSU,1543
|
||||
openai/cli/_tools/migrate.py,sha256=PqJgT-7KrCiue5Wj-1YaXfKNqcGFHXnrC9EU4eHX39c,4895
|
||||
openai/cli/_utils.py,sha256=oiTc9MnxQh_zxAZ1OIHPkoDpCll0NF9ZgkdFHz4T-Bs,848
|
||||
openai/lib/.keep,sha256=wuNrz-5SXo3jJaJOJgz4vFHM41YH_g20F5cRQo0vLes,224
|
||||
openai/lib/__pycache__/_old_api.cpython-311.pyc,,
|
||||
openai/lib/__pycache__/_validators.cpython-311.pyc,,
|
||||
openai/lib/__pycache__/azure.cpython-311.pyc,,
|
||||
openai/lib/_old_api.py,sha256=XZnXBrEKuTd70iJirj5mGW35fZoqruJobbBTq6bvg10,1947
|
||||
openai/lib/_validators.py,sha256=jnVLH1mIN1zumudXyxv1UjyXJpd7FLIU719wiRIBues,35189
|
||||
openai/lib/azure.py,sha256=PNLQI9q0dfq1uOM2q61b9ish3Wwwfm9pedPYkpIguOs,20949
|
||||
openai/pagination.py,sha256=t6ibEYkuAueBYQttxq3hUTGrglSRQBJi2uP0i--fZhY,2727
|
||||
openai/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
openai/resources/__init__.py,sha256=uJw3CpaBH2MlTfNvUefhQ-Xj9T-ZAnQAoSRu4LTyINs,3766
|
||||
openai/resources/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/resources/__pycache__/completions.cpython-311.pyc,,
|
||||
openai/resources/__pycache__/embeddings.cpython-311.pyc,,
|
||||
openai/resources/__pycache__/files.cpython-311.pyc,,
|
||||
openai/resources/__pycache__/images.cpython-311.pyc,,
|
||||
openai/resources/__pycache__/models.cpython-311.pyc,,
|
||||
openai/resources/__pycache__/moderations.cpython-311.pyc,,
|
||||
openai/resources/audio/__init__.py,sha256=H5IBD6C3kvocIo964dBf6zRPHae_0WtRJpbEaMNUIaU,1654
|
||||
openai/resources/audio/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/resources/audio/__pycache__/audio.cpython-311.pyc,,
|
||||
openai/resources/audio/__pycache__/speech.cpython-311.pyc,,
|
||||
openai/resources/audio/__pycache__/transcriptions.cpython-311.pyc,,
|
||||
openai/resources/audio/__pycache__/translations.cpython-311.pyc,,
|
||||
openai/resources/audio/audio.py,sha256=uL0HNnUscvR_Hk4SxSLT0vM2Jf0VMppLfQR1X83CSDQ,4448
|
||||
openai/resources/audio/speech.py,sha256=23znvF7rqtn4u3D1_q1wR2hIj5nb-eca8FcLld8wi9g,7535
|
||||
openai/resources/audio/transcriptions.py,sha256=bs6RkX4qiR3CuQBchsGVj3gmLZcbqsemifZMunZLPPY,10601
|
||||
openai/resources/audio/translations.py,sha256=HqarN8NUT1vK1PxGyRBu2LB0hCQid7tKRcMcjzDG0DY,8805
|
||||
openai/resources/beta/__init__.py,sha256=XdMKOoEm-_gYuCAI-pN4tIdQqWA__qDb6dGheVYNAwU,1170
|
||||
openai/resources/beta/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/resources/beta/__pycache__/beta.cpython-311.pyc,,
|
||||
openai/resources/beta/assistants/__init__.py,sha256=nLcu2jgFlrjBgopvWZ9HbHBLjZGUp-0rrCU2bzCZ4cE,816
|
||||
openai/resources/beta/assistants/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/resources/beta/assistants/__pycache__/assistants.cpython-311.pyc,,
|
||||
openai/resources/beta/assistants/__pycache__/files.cpython-311.pyc,,
|
||||
openai/resources/beta/assistants/assistants.py,sha256=ukciqo3ducWwPGgk0YIeFdwAr0ZcinfRTOS1B1qBxo4,30627
|
||||
openai/resources/beta/assistants/files.py,sha256=gcSmB1Un_d1SBuKp_8Q589g_Zsp2XS8GTnaDyzWw8hE,19432
|
||||
openai/resources/beta/beta.py,sha256=a0jGIMPo4uDccWwTrH0MiG_wlQLDQNVq_OHr9R6Xgl8,3340
|
||||
openai/resources/beta/threads/__init__.py,sha256=StqcfopWljzVGNkNK3-rL1f4FlKEBI639nFzqvIZ1GY,1144
|
||||
openai/resources/beta/threads/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/resources/beta/threads/__pycache__/threads.cpython-311.pyc,,
|
||||
openai/resources/beta/threads/messages/__init__.py,sha256=aX34nf20_fhpJkUGM_hAyVCn7Y1JjSPfWEno74IdgaA,790
|
||||
openai/resources/beta/threads/messages/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/resources/beta/threads/messages/__pycache__/files.cpython-311.pyc,,
|
||||
openai/resources/beta/threads/messages/__pycache__/messages.cpython-311.pyc,,
|
||||
openai/resources/beta/threads/messages/files.py,sha256=57rCfBPvpcz8qO09ucdBCGWCkV5spa8wb9vIpDV-jDk,12267
|
||||
openai/resources/beta/threads/messages/messages.py,sha256=J5kNHVYOhIHQInkTt0RL7oGsLqt5UEsvqzACb3NbSJ0,22831
|
||||
openai/resources/beta/threads/runs/__init__.py,sha256=CzY74XkB3ArUjBufoHKJKtzL1FpK8joBlV33PgYWkAE,738
|
||||
openai/resources/beta/threads/runs/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/resources/beta/threads/runs/__pycache__/runs.cpython-311.pyc,,
|
||||
openai/resources/beta/threads/runs/__pycache__/steps.cpython-311.pyc,,
|
||||
openai/resources/beta/threads/runs/runs.py,sha256=6lUL8wCQKZ1pOWmDP7iR_6zxnfjhr6CH7EnMRrGtVGI,32278
|
||||
openai/resources/beta/threads/runs/steps.py,sha256=6ZGDEp6Rbzi54mvZD9s8ezdLq4pJcla4U1qZODwlf_8,12141
|
||||
openai/resources/beta/threads/threads.py,sha256=EAUkDvlshjELUKO6CkBRFqERPZ-ozJHhDTE3oERZz9E,25273
|
||||
openai/resources/chat/__init__.py,sha256=yw-K4s1SJvB5uI_5bbK0J9LUYe4cBhhVXd107RdzGvg,816
|
||||
openai/resources/chat/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/resources/chat/__pycache__/chat.cpython-311.pyc,,
|
||||
openai/resources/chat/__pycache__/completions.cpython-311.pyc,,
|
||||
openai/resources/chat/chat.py,sha256=str5Yg0vNgvP1CLpAUEWfOH0jDlaNBPSis7ByhMX9Dk,2309
|
||||
openai/resources/chat/completions.py,sha256=qgTsJFik0Wja1Keb4KT_tQYxbRvbg0jeHmotJgNDvdk,72110
|
||||
openai/resources/completions.py,sha256=bsFV0k8k3GZdTsXVl2J4z57Ikvt3yQ4fOks_CpO_TV8,56586
|
||||
openai/resources/embeddings.py,sha256=T0njUG9Tpi-4Ga5cbtGnRFBDMEh8FN8XAZI2kNDD-AY,10677
|
||||
openai/resources/files.py,sha256=tWrLzoIPXFTRoqWEcKfQs3bSQhM81ZTx0RtWdFJ-SbU,25996
|
||||
openai/resources/fine_tuning/__init__.py,sha256=HgWmZzvh-yOQ3MCQONArfst0W_5ezJDIpsqHou-UOos,804
|
||||
openai/resources/fine_tuning/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/resources/fine_tuning/__pycache__/fine_tuning.cpython-311.pyc,,
|
||||
openai/resources/fine_tuning/__pycache__/jobs.cpython-311.pyc,,
|
||||
openai/resources/fine_tuning/fine_tuning.py,sha256=s9ncbZryxH6EVGQ0SaliGnfCmRkxG_M1IaZUSbZocns,2338
|
||||
openai/resources/fine_tuning/jobs.py,sha256=gr0ABJcjOoyr6eqEL69-PdVw6knbpufLPcixB0zzly0,24455
|
||||
openai/resources/images.py,sha256=p5-Stm0Mj_eOK6lbJtlAw6YfRbsETiSrKIL4IR_jyTs,24159
|
||||
openai/resources/models.py,sha256=WgAWyeqdx7NplBOHkWYcltq4toLfh47Vf80QaR8Gq48,10150
|
||||
openai/resources/moderations.py,sha256=5hHmqp_Z2sSSooJkn1bc8gg9yK5tW1fp4wbRESzBvbQ,6576
|
||||
openai/types/__init__.py,sha256=_gd3v34AgdGTjDjZ8hPLw_AFhMdZ1MTB1pmcI_m-brQ,1629
|
||||
openai/types/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/types/__pycache__/completion.cpython-311.pyc,,
|
||||
openai/types/__pycache__/completion_choice.cpython-311.pyc,,
|
||||
openai/types/__pycache__/completion_create_params.cpython-311.pyc,,
|
||||
openai/types/__pycache__/completion_usage.cpython-311.pyc,,
|
||||
openai/types/__pycache__/create_embedding_response.cpython-311.pyc,,
|
||||
openai/types/__pycache__/embedding.cpython-311.pyc,,
|
||||
openai/types/__pycache__/embedding_create_params.cpython-311.pyc,,
|
||||
openai/types/__pycache__/file_content.cpython-311.pyc,,
|
||||
openai/types/__pycache__/file_create_params.cpython-311.pyc,,
|
||||
openai/types/__pycache__/file_deleted.cpython-311.pyc,,
|
||||
openai/types/__pycache__/file_list_params.cpython-311.pyc,,
|
||||
openai/types/__pycache__/file_object.cpython-311.pyc,,
|
||||
openai/types/__pycache__/image.cpython-311.pyc,,
|
||||
openai/types/__pycache__/image_create_variation_params.cpython-311.pyc,,
|
||||
openai/types/__pycache__/image_edit_params.cpython-311.pyc,,
|
||||
openai/types/__pycache__/image_generate_params.cpython-311.pyc,,
|
||||
openai/types/__pycache__/images_response.cpython-311.pyc,,
|
||||
openai/types/__pycache__/model.cpython-311.pyc,,
|
||||
openai/types/__pycache__/model_deleted.cpython-311.pyc,,
|
||||
openai/types/__pycache__/moderation.cpython-311.pyc,,
|
||||
openai/types/__pycache__/moderation_create_params.cpython-311.pyc,,
|
||||
openai/types/__pycache__/moderation_create_response.cpython-311.pyc,,
|
||||
openai/types/audio/__init__.py,sha256=afWI555-qErp31UCqx-lW6Wu2fmje8M-R0E_zQhIAio,461
|
||||
openai/types/audio/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/types/audio/__pycache__/speech_create_params.cpython-311.pyc,,
|
||||
openai/types/audio/__pycache__/transcription.cpython-311.pyc,,
|
||||
openai/types/audio/__pycache__/transcription_create_params.cpython-311.pyc,,
|
||||
openai/types/audio/__pycache__/translation.cpython-311.pyc,,
|
||||
openai/types/audio/__pycache__/translation_create_params.cpython-311.pyc,,
|
||||
openai/types/audio/speech_create_params.py,sha256=nvRpp2soI3ljAdR_XE5ally2AHYvdBM_fSrapeKd6bQ,1207
|
||||
openai/types/audio/transcription.py,sha256=bHHqJzRrdk_p23yvenTGjw0QBnjI3ebem1Ji1IJROOc,164
|
||||
openai/types/audio/transcription_create_params.py,sha256=bDv_ngcndV36z8j8PU3qnWws5Ya0OWn8QTbfNLECVU0,2018
|
||||
openai/types/audio/translation.py,sha256=qOh5RFGsAjX5fid6vFYtdNNO_7QVtAAZWzHwbcNc224,160
|
||||
openai/types/audio/translation_create_params.py,sha256=xxG6-xycSd8Zzt6yak1fYUa7BbbwOKxdVzWRbOYUE0A,1404
|
||||
openai/types/beta/__init__.py,sha256=ww4Yg-cSessqkFW8oYVlLNYRzOfBb5rJiMFtm4gWIg4,791
|
||||
openai/types/beta/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/types/beta/__pycache__/assistant.cpython-311.pyc,,
|
||||
openai/types/beta/__pycache__/assistant_create_params.cpython-311.pyc,,
|
||||
openai/types/beta/__pycache__/assistant_deleted.cpython-311.pyc,,
|
||||
openai/types/beta/__pycache__/assistant_list_params.cpython-311.pyc,,
|
||||
openai/types/beta/__pycache__/assistant_update_params.cpython-311.pyc,,
|
||||
openai/types/beta/__pycache__/thread.cpython-311.pyc,,
|
||||
openai/types/beta/__pycache__/thread_create_and_run_params.cpython-311.pyc,,
|
||||
openai/types/beta/__pycache__/thread_create_params.cpython-311.pyc,,
|
||||
openai/types/beta/__pycache__/thread_deleted.cpython-311.pyc,,
|
||||
openai/types/beta/__pycache__/thread_update_params.cpython-311.pyc,,
|
||||
openai/types/beta/assistant.py,sha256=5RxYqcEtQJymXS2z2CaFwUOLZH1--7r3iOEt9HnCdvM,2562
|
||||
openai/types/beta/assistant_create_params.py,sha256=gSsGeOpvAVPPRPpSgAHVM1tbGwkDyiTCvd6p_RA6rHQ,2553
|
||||
openai/types/beta/assistant_deleted.py,sha256=fV1wGdYtmF8irj2WRf6eR24JodG0z1rM_M5bwqSvoV4,268
|
||||
openai/types/beta/assistant_list_params.py,sha256=gsSRtdvZMiBxaTCvpfXy3LYKzViPl0ysx9a8tDguxf8,1187
|
||||
openai/types/beta/assistant_update_params.py,sha256=80zgvPSj8T-uGIXRicwAse0vstHH5ik5bB2NbzAaroo,2670
|
||||
openai/types/beta/assistants/__init__.py,sha256=nPm_I-yeVKKJRYqWzGrf9OoVDDDsg1c0Qj936gIEKkk,356
|
||||
openai/types/beta/assistants/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/types/beta/assistants/__pycache__/assistant_file.cpython-311.pyc,,
|
||||
openai/types/beta/assistants/__pycache__/file_create_params.cpython-311.pyc,,
|
||||
openai/types/beta/assistants/__pycache__/file_delete_response.cpython-311.pyc,,
|
||||
openai/types/beta/assistants/__pycache__/file_list_params.cpython-311.pyc,,
|
||||
openai/types/beta/assistants/assistant_file.py,sha256=RLht24Zg-XbpuKZk2aVXFTH0R0_2c8smvfice7Gekxs,554
|
||||
openai/types/beta/assistants/file_create_params.py,sha256=J09q5nl2ZGJ4y8ShBJ5ur1PS7XGrNOBSBz0ptzX2-LM,484
|
||||
openai/types/beta/assistants/file_delete_response.py,sha256=unPwyynR71X4Ap0nJ4KENk2JGOv65SVLiavUVcLTVAc,278
|
||||
openai/types/beta/assistants/file_list_params.py,sha256=J-AQx5Eu1fgMjHOUBl3u1HGEDkANVRrmIUk4x7EXTN8,1177
|
||||
openai/types/beta/chat/__init__.py,sha256=WirADquEnYGjBTTLlIC-kNtGf6opfip3z-sKplC_k3Y,89
|
||||
openai/types/beta/chat/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/types/beta/thread.py,sha256=JH8rujxW8ijVOB721rf77A5PBbZGJ5GbOXfXKogqlp4,781
|
||||
openai/types/beta/thread_create_and_run_params.py,sha256=Ir8Zxe_Xz9AU24QHthzC-_yLs_4uIW-EmJKH58g3uV8,3740
|
||||
openai/types/beta/thread_create_params.py,sha256=dM1fT3pKa_X6JidAiAVsLJ_dlM_SY0MflCdoTno0cCs,1631
|
||||
openai/types/beta/thread_deleted.py,sha256=jrDuKYAP-oKp3-5ZvjoPR4Yr9aZ-VhWbl5vijDdtypA,259
|
||||
openai/types/beta/thread_update_params.py,sha256=ElYwOy-_AWDgKH_LRJddQO9saiWMiEMQuDK4MrKMeLQ,554
|
||||
openai/types/beta/threads/__init__.py,sha256=3xm8RjgLAieXgrJOlD1KUUp3dERW8ExWtwxy8DSq3Tg,977
|
||||
openai/types/beta/threads/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/types/beta/threads/__pycache__/message_content_image_file.cpython-311.pyc,,
|
||||
openai/types/beta/threads/__pycache__/message_content_text.cpython-311.pyc,,
|
||||
openai/types/beta/threads/__pycache__/message_create_params.cpython-311.pyc,,
|
||||
openai/types/beta/threads/__pycache__/message_list_params.cpython-311.pyc,,
|
||||
openai/types/beta/threads/__pycache__/message_update_params.cpython-311.pyc,,
|
||||
openai/types/beta/threads/__pycache__/required_action_function_tool_call.cpython-311.pyc,,
|
||||
openai/types/beta/threads/__pycache__/run.cpython-311.pyc,,
|
||||
openai/types/beta/threads/__pycache__/run_create_params.cpython-311.pyc,,
|
||||
openai/types/beta/threads/__pycache__/run_list_params.cpython-311.pyc,,
|
||||
openai/types/beta/threads/__pycache__/run_submit_tool_outputs_params.cpython-311.pyc,,
|
||||
openai/types/beta/threads/__pycache__/run_update_params.cpython-311.pyc,,
|
||||
openai/types/beta/threads/__pycache__/thread_message.cpython-311.pyc,,
|
||||
openai/types/beta/threads/message_content_image_file.py,sha256=OT2xpdVLxorivEtN6wvkBlcA3tl0BBHSp80dknEsJcY,489
|
||||
openai/types/beta/threads/message_content_text.py,sha256=e4eIkUfqJDGBfYPCfDHrpA3YDr6fkEnZJLVQ8KaW5Bo,1575
|
||||
openai/types/beta/threads/message_create_params.py,sha256=y7Vj9uVZ_61vwPCpyBDOzrQiycIRrBj4Wvk1ZzZ1_B4,1100
|
||||
openai/types/beta/threads/message_list_params.py,sha256=GL2Hq8PoEFSbmQ4DVtCtgFSqc8VoFs7ftvVWIZcybkA,1183
|
||||
openai/types/beta/threads/message_update_params.py,sha256=Zy46a0o5rxrde_REpNZPmx4G89BMP5DHk1E5cMuUNVw,596
|
||||
openai/types/beta/threads/messages/__init__.py,sha256=NXH8z8CPb2Bhr_delxNMpdmzFLxaUnVyz7TX2GdTpbc,206
|
||||
openai/types/beta/threads/messages/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/types/beta/threads/messages/__pycache__/file_list_params.cpython-311.pyc,,
|
||||
openai/types/beta/threads/messages/__pycache__/message_file.cpython-311.pyc,,
|
||||
openai/types/beta/threads/messages/file_list_params.py,sha256=L6pM_ZzxD_N2dPTeuBhe7FzkKbrXL1lF0gmGAjP_lN8,1217
|
||||
openai/types/beta/threads/messages/message_file.py,sha256=ZzehFlMaprtmwq4zLx8frhA6APldpexoulNQ4oMxYGU,695
|
||||
openai/types/beta/threads/required_action_function_tool_call.py,sha256=yuF4lNm5UEq8sMR96BeSCDD-C3kdQcbcf2A7VbZwVJ0,855
|
||||
openai/types/beta/threads/run.py,sha256=BjAmD0Z30O3BGA2bMmf_SPxREpBnRxPzYw4iPt_Wk7U,4985
|
||||
openai/types/beta/threads/run_create_params.py,sha256=Fx8aTLDIJ2nh1WwGZnYx7XKA7epdgMbqZ9umtR5--g4,2520
|
||||
openai/types/beta/threads/run_list_params.py,sha256=TMAVh4Ffwzkx4WW1-L6ezfCB7LY-u2mdLP5phAvxd-A,1175
|
||||
openai/types/beta/threads/run_submit_tool_outputs_params.py,sha256=R7Bhkxhr-AB8ip8aEokS3D1P2A3wqZiSFZxpjybZV1I,727
|
||||
openai/types/beta/threads/run_update_params.py,sha256=lTdDYumU09-BzihovwaUWy_7em9l6d9DXiabK-j60wM,588
|
||||
openai/types/beta/threads/runs/__init__.py,sha256=EyHtFKh0sIyLw-raVzV3c9SkVkaKj4ZvpM1e_V4NnAo,574
|
||||
openai/types/beta/threads/runs/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/types/beta/threads/runs/__pycache__/code_tool_call.cpython-311.pyc,,
|
||||
openai/types/beta/threads/runs/__pycache__/function_tool_call.cpython-311.pyc,,
|
||||
openai/types/beta/threads/runs/__pycache__/message_creation_step_details.cpython-311.pyc,,
|
||||
openai/types/beta/threads/runs/__pycache__/retrieval_tool_call.cpython-311.pyc,,
|
||||
openai/types/beta/threads/runs/__pycache__/run_step.cpython-311.pyc,,
|
||||
openai/types/beta/threads/runs/__pycache__/step_list_params.cpython-311.pyc,,
|
||||
openai/types/beta/threads/runs/__pycache__/tool_calls_step_details.cpython-311.pyc,,
|
||||
openai/types/beta/threads/runs/code_tool_call.py,sha256=c_C8t3FkwkYehflYYBWPKKbracIcF48EI4xiYHBHicU,1632
|
||||
openai/types/beta/threads/runs/function_tool_call.py,sha256=HwfEELO0Ck8x-ddcIKCpKRgVOUJn_jj_jtiLb7tAVLI,887
|
||||
openai/types/beta/threads/runs/message_creation_step_details.py,sha256=Ujxn44Aj27RS3m14Q7qe8t7e1izhSHceqLSoYJQxXP0,473
|
||||
openai/types/beta/threads/runs/retrieval_tool_call.py,sha256=X4DgXBggLkbkxNbVy74Cot0TtzWdZv2WKtTXeHawbQY,481
|
||||
openai/types/beta/threads/runs/run_step.py,sha256=PBVBsfRqPG-XaSHHd0PYkY27l_MS4Bf4uLEuv2Uq4qU,3312
|
||||
openai/types/beta/threads/runs/step_list_params.py,sha256=4RjV9cvUVIESZr7CWkIJbw2T-D9dCmW2uiHCkdh7nRg,1217
|
||||
openai/types/beta/threads/runs/tool_calls_step_details.py,sha256=WiZ3no8GpAFT26kBybsEPHnd9TyufhuIZXLDOew-2Ig,736
|
||||
openai/types/beta/threads/thread_message.py,sha256=WYIiVN7J8P5VbK00f2aSS6p0O5LrQ7x-eU2BseI9Trg,2057
|
||||
openai/types/chat/__init__.py,sha256=ISnJHqpzjSN8VA4oBDt0vfMGwg9e-g7y5M8QuPRYh3M,2431
|
||||
openai/types/chat/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/types/chat/__pycache__/chat_completion.cpython-311.pyc,,
|
||||
openai/types/chat/__pycache__/chat_completion_assistant_message_param.cpython-311.pyc,,
|
||||
openai/types/chat/__pycache__/chat_completion_chunk.cpython-311.pyc,,
|
||||
openai/types/chat/__pycache__/chat_completion_content_part_image_param.cpython-311.pyc,,
|
||||
openai/types/chat/__pycache__/chat_completion_content_part_param.cpython-311.pyc,,
|
||||
openai/types/chat/__pycache__/chat_completion_content_part_text_param.cpython-311.pyc,,
|
||||
openai/types/chat/__pycache__/chat_completion_function_call_option_param.cpython-311.pyc,,
|
||||
openai/types/chat/__pycache__/chat_completion_function_message_param.cpython-311.pyc,,
|
||||
openai/types/chat/__pycache__/chat_completion_message.cpython-311.pyc,,
|
||||
openai/types/chat/__pycache__/chat_completion_message_param.cpython-311.pyc,,
|
||||
openai/types/chat/__pycache__/chat_completion_message_tool_call.cpython-311.pyc,,
|
||||
openai/types/chat/__pycache__/chat_completion_message_tool_call_param.cpython-311.pyc,,
|
||||
openai/types/chat/__pycache__/chat_completion_named_tool_choice_param.cpython-311.pyc,,
|
||||
openai/types/chat/__pycache__/chat_completion_role.cpython-311.pyc,,
|
||||
openai/types/chat/__pycache__/chat_completion_system_message_param.cpython-311.pyc,,
|
||||
openai/types/chat/__pycache__/chat_completion_token_logprob.cpython-311.pyc,,
|
||||
openai/types/chat/__pycache__/chat_completion_tool_choice_option_param.cpython-311.pyc,,
|
||||
openai/types/chat/__pycache__/chat_completion_tool_message_param.cpython-311.pyc,,
|
||||
openai/types/chat/__pycache__/chat_completion_tool_param.cpython-311.pyc,,
|
||||
openai/types/chat/__pycache__/chat_completion_user_message_param.cpython-311.pyc,,
|
||||
openai/types/chat/__pycache__/completion_create_params.cpython-311.pyc,,
|
||||
openai/types/chat/chat_completion.py,sha256=v1CzdPdI2x3kip08cvvVI9JE-fPT1YQNMUdrkndSIt4,2288
|
||||
openai/types/chat/chat_completion_assistant_message_param.py,sha256=1Dqf2vFcVC9xEJ-XiInwvOCTShvqQvD8st3b1UM4ZVI,1605
|
||||
openai/types/chat/chat_completion_chunk.py,sha256=S6fcNkl2eopGsE7gKwIPAyscIvxRlkgm0K-962NRits,4062
|
||||
openai/types/chat/chat_completion_content_part_image_param.py,sha256=kyqp63mKKPtIdepl8kNrJEaoP8mQvLrLBjDiIK7PCPY,764
|
||||
openai/types/chat/chat_completion_content_part_param.py,sha256=Edlt5NGiNc2sRo7WC2w3GQUy4VmKw5t1nj1WxmEx4b8,453
|
||||
openai/types/chat/chat_completion_content_part_text_param.py,sha256=_TJtxbHQaU6-I5uEoriVI7rseY7KNdHV9ouA6wJH9f4,396
|
||||
openai/types/chat/chat_completion_function_call_option_param.py,sha256=3FGW-vOFJ41UYqiiQujJn-M4uGt2MLHEVfzfWVLS0_I,332
|
||||
openai/types/chat/chat_completion_function_message_param.py,sha256=KB4cXHg__FkweLmXTCg1L7crLOSKsn-fcqtRByXomRc,558
|
||||
openai/types/chat/chat_completion_message.py,sha256=irtHQZHRFgsEk2jrxfbET5tERmPa51cTGa0IS28_rdQ,1249
|
||||
openai/types/chat/chat_completion_message_param.py,sha256=hNVkRJmP29bjIidWBv6KLIaF9360HACjlNPMQ8UacZc,805
|
||||
openai/types/chat/chat_completion_message_tool_call.py,sha256=2GS49NL6M9bx3yoFTRrZBtA5bGXMV6Vz87HDLzrVPxE,867
|
||||
openai/types/chat/chat_completion_message_tool_call_param.py,sha256=TPTxAapX7imm3Je3IxLYZCyvmkP4QYH0ad0wsk1fLlg,976
|
||||
openai/types/chat/chat_completion_named_tool_choice_param.py,sha256=eZ1mFBPOOavrBLXHpLz1KsnIWfVZiZyYlhWzz9VCgmU,536
|
||||
openai/types/chat/chat_completion_role.py,sha256=na9kKLwNySYF4CDeuJKx8bo1lc20PHxe46oXHLAb8cY,207
|
||||
openai/types/chat/chat_completion_system_message_param.py,sha256=WORNNRGXGOUL6JsN6JO19PY7dna50e6ktl5IyhnTFU0,605
|
||||
openai/types/chat/chat_completion_token_logprob.py,sha256=BPsN1DGpX7Vyp2IjnYInXr80CDRXO2C5i5b8FeeuV4M,1440
|
||||
openai/types/chat/chat_completion_tool_choice_option_param.py,sha256=h52I05ob9-LzmY9ssGLzsH_Er5-wR0KH85Ud991l1yM,399
|
||||
openai/types/chat/chat_completion_tool_message_param.py,sha256=zbH8uNKaiETcJSitUBZ7BWtnD11t3NVIUzqpyan0Qkw,520
|
||||
openai/types/chat/chat_completion_tool_param.py,sha256=ez93XyQd_u0lAy40cO5aiJuboCNtvWyAZA8JhKFVURY,452
|
||||
openai/types/chat/chat_completion_user_message_param.py,sha256=1FpRHCsk7My2HPgLa4AbudpLKAMRz_Po_Ojo0IzD7vs,759
|
||||
openai/types/chat/completion_create_params.py,sha256=iPV3DZC2Lhq4sH2qHaFsC-BUcuR2qizqNK1jbcG3lE0,10599
|
||||
openai/types/completion.py,sha256=TWZXMOLfKcZL_kKDgyJAiZ34_nFQiB66ts0svtp02so,1139
|
||||
openai/types/completion_choice.py,sha256=lEtW_yLa1PUIt0IbEKnjnuu0iuqNOTRsCRRwmkFFBfM,932
|
||||
openai/types/completion_create_params.py,sha256=9fziPQCKCnKEnNe8Exc0t8aqv07D9R9gFgzQEoPlrgY,7223
|
||||
openai/types/completion_usage.py,sha256=H1onC3vuVy5NKSUlW8FBfVzl_PfgFyrB_ytro80ZAjM,401
|
||||
openai/types/create_embedding_response.py,sha256=quvWyAE48qV_pwTyWTBT7OO-t1AF0zZaMUI8n-PPtCI,765
|
||||
openai/types/embedding.py,sha256=EPMqrP_OjLMuiTv0XcLTizicilcdgAw16akbdWD7xIc,604
|
||||
openai/types/embedding_create_params.py,sha256=mT2S8H0-tZ_uCRfkRg6YNxfDatkf_7Mhx0rIZRVQwnk,1852
|
||||
openai/types/file_content.py,sha256=GuNtqtZAuHFXS0uIJbTpOvzx_RePrE-lnH3FvNw4dJ8,100
|
||||
openai/types/file_create_params.py,sha256=4F6XpTDTRGXZjusxXbU-82rvxFAUju04IC6PywtDTYU,840
|
||||
openai/types/file_deleted.py,sha256=cJQWjVK1EiFj3kwV4ndQnF5Mlqv7ZSXNJtSwEWilL-A,244
|
||||
openai/types/file_list_params.py,sha256=0IpTyqCAMcMl-Q2W1v-4J_xpoCdSmh1zvv_p-X0OmEQ,277
|
||||
openai/types/file_object.py,sha256=owuX6HgYMquwzCif65pNSUV-5dtYs09wtjk0ONnfvME,1193
|
||||
openai/types/fine_tuning/__init__.py,sha256=wfu8ciqHopBRPUkZ0D_NkP14-1wYFgVrY8pbCI2i84s,431
|
||||
openai/types/fine_tuning/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/types/fine_tuning/__pycache__/fine_tuning_job.cpython-311.pyc,,
|
||||
openai/types/fine_tuning/__pycache__/fine_tuning_job_event.cpython-311.pyc,,
|
||||
openai/types/fine_tuning/__pycache__/job_create_params.cpython-311.pyc,,
|
||||
openai/types/fine_tuning/__pycache__/job_list_events_params.cpython-311.pyc,,
|
||||
openai/types/fine_tuning/__pycache__/job_list_params.cpython-311.pyc,,
|
||||
openai/types/fine_tuning/fine_tuning_job.py,sha256=0S4vHuMFT40qhiXGAl-MqToAwIF3feYSA9OeJXQ4tqo,3312
|
||||
openai/types/fine_tuning/fine_tuning_job_event.py,sha256=TRx0UgtvikmYUiRg0vMEu57cNszpin0gsbbrHiPL-jY,341
|
||||
openai/types/fine_tuning/job_create_params.py,sha256=ly9Js-QGiQoCoVBVhD7oM-uybkjcPK172ozYI2V6fBM,2578
|
||||
openai/types/fine_tuning/job_list_events_params.py,sha256=tfpo_bsTGW2ZaPzv5eJyr5F38UEUiwE_MJDNttfKLwo,367
|
||||
openai/types/fine_tuning/job_list_params.py,sha256=Adm5vy-_0qoKP9Ubf_DOoT_pRkyB1YBdbvbAMAP40hw,363
|
||||
openai/types/image.py,sha256=HXUIin-8Jb643tEtHYg9YAE59-kqXdycB1p4XqS5qAY,574
|
||||
openai/types/image_create_variation_params.py,sha256=e1zOZaTKg37Qe6LgDt0haqHPdOpqj4KYmzGfS-dVX_0,1342
|
||||
openai/types/image_edit_params.py,sha256=0y23-ZDZyS0a_a5E2kfVcjH_BJo5XSi0XAnKxwCCQUU,1702
|
||||
openai/types/image_generate_params.py,sha256=0XlKCfUmXUi8pQKetb_pri-1qV5xRpU6cjmGynmCFJA,2008
|
||||
openai/types/images_response.py,sha256=3eOiPIDxOSkxEaNrb0HOnHZmPtFYWQtY_xpC-yJN6U0,241
|
||||
openai/types/model.py,sha256=d_h7gH9_7A2GrRHw61x8RFPEXM3uOlYqh6XVHGuMQ98,499
|
||||
openai/types/model_deleted.py,sha256=vDZMiixtF903ce9bGixXpus5J1KrHYGEyu_Eb6kO-m8,195
|
||||
openai/types/moderation.py,sha256=_l1AiEh2KuWOM_gXyaBDDnL2_ybRGdj3MY0KE9H3Mrw,3946
|
||||
openai/types/moderation_create_params.py,sha256=VbmYPy75IFhWNeZGV_ocuM_m5w2XdL6ogIDLf0gAwos,921
|
||||
openai/types/moderation_create_response.py,sha256=S2IXOkUwnlEWH8hKpMI8nPpg2NEiLYE3OfTXL892xvA,451
|
||||
openai/types/shared/__init__.py,sha256=ZElh_qWWutVp2d2fkFakb8sGeqcB6M_GWtC3SYohO8g,202
|
||||
openai/types/shared/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/types/shared/__pycache__/function_definition.cpython-311.pyc,,
|
||||
openai/types/shared/__pycache__/function_parameters.cpython-311.pyc,,
|
||||
openai/types/shared/function_definition.py,sha256=lmbpvpu7Et9FoLWE14pxAr4Sy47moXwQzgPZvX2xuJM,1034
|
||||
openai/types/shared/function_parameters.py,sha256=Xj6wM1hq1Kp6ZsYyNdbjfW9LLfZwJFH7HWuzqLnMu-0,152
|
||||
openai/types/shared_params/__init__.py,sha256=ZElh_qWWutVp2d2fkFakb8sGeqcB6M_GWtC3SYohO8g,202
|
||||
openai/types/shared_params/__pycache__/__init__.cpython-311.pyc,,
|
||||
openai/types/shared_params/__pycache__/function_definition.cpython-311.pyc,,
|
||||
openai/types/shared_params/__pycache__/function_parameters.cpython-311.pyc,,
|
||||
openai/types/shared_params/function_definition.py,sha256=-jNW5TaabjauAoVB2Ov5hzVvlsg1fZ7oerhlwqjFarI,1045
|
||||
openai/types/shared_params/function_parameters.py,sha256=_zsz301xdUydlEuHd3igO6B660FXZb1muELvc0Eq_a8,188
|
||||
openai/version.py,sha256=cjbXKO8Ut3aiv4YlQnugff7AdC48MpSndcx96q88Yb8,62
|
||||
@@ -0,0 +1,4 @@
|
||||
Wheel-Version: 1.0
|
||||
Generator: hatchling 1.21.1
|
||||
Root-Is-Purelib: true
|
||||
Tag: py3-none-any
|
||||
@@ -0,0 +1,2 @@
|
||||
[console_scripts]
|
||||
openai = openai.cli:main
|
||||
+201
@@ -0,0 +1,201 @@
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright 2024 OpenAI
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
Reference in New Issue
Block a user