Skip to main content

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 templates
  • get_template_inputs - Get a list of your existing CoWrite templates

completions

  • completions - Create completion for LLM model
  • customization_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 file
  • files - List files
  • get_file - Get file
  • upload_file - Upload file

fine_tunes

  • create_model_customization - Create model customization
  • customizations - List model customizations
  • delete_model_customization - Delete Model customization
  • get_model_customization - Get model customization

models

  • models - List available LLM models

snippet

  • delete_snippets - Delete snippets
  • find_snippets - Find snippets
  • update_snippets - Update snippets

styleguide

  • list_pages - List your styleguide pages
  • page_details - Page details

terminology

  • add_terms - Add terms
  • delete_terms - Delete terms
  • find_terms - Find terms
  • update_terms - Update terms

user

  • list_users - List users

SDK Generated by Speakeasy

Metadata

Release files for writerai-api 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for writerai-api 0.2.0
File Size Uploaded
writerai-api-0.2.0.tar.gz 28.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for writerai-api 0.2.0
File Interpreter ABI Platform
writerai_api-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 107.3 kB

Release files / writerai-api-0.2.0.tar.gz

Download URL writerai-api-0.2.0.tar.gz
Size 28.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1afa4803050c44d1bbb05011ecef43b2aa7cde75ee8bc8d761ff9459ce050995
BLAKE2b-256 checksum
How to use checksums
b30a0c2d9443c0ad089647ba0c0d32582e6f3e0f5c323598b04f9c7b2e2e9ebf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / writerai_api-0.2.0-py3-none-any.whl

Download URL writerai_api-0.2.0-py3-none-any.whl
Size 78.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bd918c8c8b487e3b8352cad99b5f88c2518351a1f482d6f52667f931c57c3718
BLAKE2b-256 checksum
How to use checksums
0eba6707e4c4e9c878948835e7b0562bb30ff3ebb486bd18ddfeea89447ca788
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page