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.7.tar.gz
(125.3 kB
view hashes)
Built Distribution
Close
Hashes for customgpt_client-1.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72f6ecdbb05be882fe1f95eebf1994a4e018843e21aa61a7a68efd3afa76e14f |
|
MD5 | c6a722b53ee2f84d6829af6d35e2c40d |
|
BLAKE2b-256 | 766971dd0d393df0094b528a83da9ad9b66e0f5b66407baef6879032fc0ad323 |