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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for customgpt_client-1.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54de68f42b6a4403ba4afb318f0ff802f64049b9bd236dd09d97e2e33ad12422 |
|
MD5 | 94d46ed2f348baf7310b175faa0e5fb2 |
|
BLAKE2b-256 | 28ca0474691e5ec1fe5ff73b6c5cb37d6c884ff4dea5a16d8617f7601fc70ecd |