Python Client SDK Generated by Speakeasy
Project description
writerai-api
SDK Installation
pip install writerai-api
SDK Example Usage
import writer
from writer.models import operations, shared
s = writer.Writer()
req = operations.ContentDetectorAPIRequest(
path_params=operations.ContentDetectorAPIPathParams(
organization_id=548814,
),
headers=operations.ContentDetectorAPIHeaders(
authorization="deserunt",
),
request=shared.ContentDetectorRequest(
input="porro",
),
)
res = s.ai_content_detector.content_detector_api(req)
if res.content_detector_responses is not None:
# handle response
SDK Available Operations
ai_content_detector
content_detector_api
- Content detector api
billing
get_subscription_details
- Get your organization subscription details
co_write
generate_content
- Generate content using predefined templatesget_template_inputs
- Get a list of your existing CoWrite templates
completions
completions
- Create completion for LLM modelcustomization_completions
- Create completion for LLM customization model
content
content_check
- Check your content against your preset styleguide.contetn_correct
- Apply the style guide suggestions directly to your content.
download_the_customized_model
fetch_customized_model_file
- Download your fine-tuned model (available only for Palmyra Base and Palmyra Large)
files
delete_file
- Delete filefiles
- List filesget_file
- Get fileupload_file
- Upload file
fine_tunes
create_model_customization
- Create model customizationcustomizations
- List model customizationsdelete_model_customization
- Delete Model customizationget_model_customization
- Get model customization
models
models
- List available LLM models
snippet
delete_snippets
- Delete snippetsfind_snippets
- Find snippetsupdate_snippets
- Update snippets
styleguide
list_pages
- List your styleguide pagespage_details
- Page details
terminology
add_terms
- Add termsdelete_terms
- Delete termsfind_terms
- Find termsupdate_terms
- Update terms
user
list_users
- List users
SDK Generated by Speakeasy
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
writerai-api-0.2.0.tar.gz
(28.7 kB
view hashes)
Built Distribution
Close
Hashes for writerai_api-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bd918c8c8b487e3b8352cad99b5f88c2518351a1f482d6f52667f931c57c3718 |
|
MD5 | 514cd5abab7943fcdf0bc3ab180525fc |
|
BLAKE2b-256 | 0eba6707e4c4e9c878948835e7b0562bb30ff3ebb486bd18ddfeea89447ca788 |