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.6.tar.gz
(113.8 kB
view hashes)
Built Distribution
Close
Hashes for customgpt_client-1.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a8d1c6301e49b3e33e9339411a95c7da08667ef9631b2a6c2a563f78de773f0 |
|
MD5 | 5fe292a0464b9d3cb9f2a831911b5a64 |
|
BLAKE2b-256 | 1b8b78a3ae3cd60e310e1a1e4ae987cc5dc8e12833a60bca4374c6b7b3e25d56 |