CustomGPT SDK
Usage
First, create a client:
from customgpt_client import CustomGPT
CustomGPT.api_key="SuperSecretToken"
Now you can access to all of our Models: Example Request will be like this:
Creating a Project synchronously:
response = CustomGPT.Project.create(project_name='Test', sitemap_path='https://example.com/test.xml', file_data_retension=False, file=file)
project_id = response.data.id
Or do the same thing with an async version:
response = await CustomGPT.Project.acreate(project_name='Test', sitemap_path='https://example.com/test.xml', file_data_retension=False, file=file)
project_id = response.data.id
Metadata
Release files for customgpt-client 1.2.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| customgpt_client-1.2.8.tar.gz | 160.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| customgpt_client-1.2.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 833.7 kB
Release files / customgpt_client-1.2.8.tar.gz
| Download URL | customgpt_client-1.2.8.tar.gz |
|---|---|
| Size | 160.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8409517ef8115748ab2f15cd7e935ff2e92ffba84cab5ea703f54059a8a70302
|
|
BLAKE2b-256 checksum How to use checksums |
ec9bb836aaaadda4058fc54e58d9abcdcc798dec95273033ee1095ae75f728ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.10 Linux/5.15.0-94-generic
|
Release files / customgpt_client-1.2.8-py3-none-any.whl
| Download URL | customgpt_client-1.2.8-py3-none-any.whl |
|---|---|
| Size | 673.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
16c4eaeec58e768baed103a8e8e4facf62e258a25aec13a8f149ec2434149fc6
|
|
BLAKE2b-256 checksum How to use checksums |
57ff8478a2433bde33eaa0c00bcf11867299f8cdaacf47cb4752537136e2215f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.11.10 Linux/5.15.0-94-generic
|