A client library for accessing customgpt
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
customgpt_client-1.2.7.tar.gz
(158.0 kB
view details)
Built Distribution
File details
Details for the file customgpt_client-1.2.7.tar.gz
.
File metadata
- Download URL: customgpt_client-1.2.7.tar.gz
- Upload date:
- Size: 158.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Linux/5.15.0-94-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10ed841b78294fce108bbea7f51f33566f88e08f88cff706d48c43ae9b14bde8 |
|
MD5 | 5cce1c536603633dc1b2521dc24ffb3f |
|
BLAKE2b-256 | b88b616ebb6158bd2c0620faee57435d93163b6d408aaff8bcaf9518ebcfcfa4 |
File details
Details for the file customgpt_client-1.2.7-py3-none-any.whl
.
File metadata
- Download URL: customgpt_client-1.2.7-py3-none-any.whl
- Upload date:
- Size: 663.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.10 Linux/5.15.0-94-generic
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72cc39062bfc05147b7c833e730caffcd58af2eaf470d56274b6936633a8a4cb |
|
MD5 | dc9ecd92bdd4201a1c56f8b1d722ee3c |
|
BLAKE2b-256 | 1bb7798e9476d80a8d841f7ac71efe07197b7e6936366c8f24ddd6b58d26ce99 |