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.3.tar.gz
(158.8 kB
view hashes)
Built Distribution
Close
Hashes for customgpt_client-1.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37ea7dde1438a74a684647e20ddd6d18b0440533e6d5be00db4673a4ecf7ca5c |
|
MD5 | 6fe91336327bcb1ca7535897b440f248 |
|
BLAKE2b-256 | dd952bccd44a5bc1000e62e5ffbfcd904e3b1830c8798d3a8f5e554a31613b6a |