Skip to main content

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 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

Project details


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

writerai_api-0.2.0-py3-none-any.whl (78.5 kB view details)

Uploaded Python 3

File details

Details for the file writerai-api-0.2.0.tar.gz.

File metadata

  • Download URL: writerai-api-0.2.0.tar.gz
  • Upload date:
  • Size: 28.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for writerai-api-0.2.0.tar.gz
Algorithm Hash digest
SHA256 1afa4803050c44d1bbb05011ecef43b2aa7cde75ee8bc8d761ff9459ce050995
MD5 07287f1c7e7950126b14dceef062a8f1
BLAKE2b-256 b30a0c2d9443c0ad089647ba0c0d32582e6f3e0f5c323598b04f9c7b2e2e9ebf

See more details on using hashes here.

File details

Details for the file writerai_api-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: writerai_api-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 78.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for writerai_api-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bd918c8c8b487e3b8352cad99b5f88c2518351a1f482d6f52667f931c57c3718
MD5 514cd5abab7943fcdf0bc3ab180525fc
BLAKE2b-256 0eba6707e4c4e9c878948835e7b0562bb30ff3ebb486bd18ddfeea89447ca788

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page