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.1.8.tar.gz
(121.5 kB
view hashes)
Built Distribution
Close
Hashes for customgpt_client-1.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c36120daba39046ad680e2eae5c1d5ba635b1e50fa9d2b2fb0178731405b8b9 |
|
MD5 | 44666dd7e658d7cb5ba38bb424f16a1d |
|
BLAKE2b-256 | 720fd8154b743c90357a3615aac4342d04ac0995d6bc36355bcb0f3d0bf6b09a |