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.5.tar.gz
(158.3 kB
view hashes)
Built Distribution
Close
Hashes for customgpt_client-1.2.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0f904e8629edf5d590806f0a03af069ef540737e5ac0faa796d786a36a4341ca |
|
MD5 | cd28393852fa42cf10a8b63b523e1da4 |
|
BLAKE2b-256 | 90c077cbcd01d18d398db8e2fac07f2ff840aaafcf38f20daf2bf46c5ba28ebc |