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.2.tar.gz
(111.2 kB
view hashes)
Built Distribution
Close
Hashes for customgpt_client-1.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f572a0cd90284c42325e12e2694d7cc735ff5a56e8f1c4f9b740d8b8eba31db7 |
|
MD5 | 4c6bc8452d6e6413e7bab27e9b7f08da |
|
BLAKE2b-256 | 642de4456cb5c8fe0f315a5f4e2cc0a125c1514c0692e8832efbe08d8db9a1e8 |