An open API service providing repository metadata for many open source software ecosystems.

The official Python SDK for Scale API, the Data Platform for AI

Releases
v2.18.2

v2.18.2

  • Task creation now supports CruiseControl task type
about 2 months ago
Download
New v2 Datasets APIs

v2.18.1

New Features

Add new datasets APIs

5 months ago
Download
New v2 APIs

v2.18.0

New v2 APIs added

  • Get Project - GET /v2/project
  • Get Multiple Projects - GET /v2/projects
  • Get Batch - GET /v2/batch
  • Get Multiple Batches - GET /v2/batches
  • Create Batch - POST /v2/batch
  • Finalize Batch - POST /v2/batch/finalize
  • Pause Batch - POST /v2/batch/pause
  • Resume Batch - POST /v2/batch/resume
  • Cancel Batch - POST /v2/batch/cancel
  • Set Batch Metadata - POST /v2/batch/metadata
  • Create Chat Task - POST /v2/task/chat
  • Set Task Metadata - POST /v2/task/metadata
8 months ago
Download
Update SDK with new Annotation Types, Message Reasoning, & Message Chunks

v2.17.0

New Annotation Types:

  • Boolean
  • File
  • RankedChoices (ranking without ties)
  • RankedGroups (ranking with ties)
  • WorkspaceContainer (virtual environment upload)

Message Reasoning:

Any “reasoning” or “thinking” content provided by the model.

Message Chunks:

A new entity to represent a subset of Message Content. A chunk is a piece of content that exists within the message content. chunks are used to identify specific pieces of content which should have its own annotations. For example, an essay could be broken up into chunks where each chunk is a paragraph with their own annotations.

10 months ago
Download
v2.16.0

v2.16.0

Upgrade Steps

  • requires python >= 3.8

New Features

  • .v2 client for v2 endpoints
  • v2_get_tasks for handling v2.get_tasks pagination like the existing get_tasks
about 1 year ago
Download
v2.15.14

v2.15.14

New Features

  • TaskTemplate class now supports response_schema if the feature is enabled for your account
  • new helper methods TaskTemplate.is_auto_onboardable() and TaskTemplate.get_response_schema() to get response_schema dictionary
over 1 year ago
Download
v2.15.13

v2.15.13

New Features

  • project_name will be optional parameter for get_tasks_count method. Providing either project or batch name will be enough for this method.
over 1 year ago
Download
Release - 2.15.12 Adding MultiStage Task Type

v2.15.12

Adding MultiStage to the task type enum in order to create task with that type!

over 1 year ago
Download
v2.15.11

v2.15.11

What’s changed

Optional project_name Parameter for get_tasks() Function in Python SDK

Description:
This release includes an important update to the Scale API Python SDK that makes the project_name parameter optional for the get_tasks() function. Previously, project_name was a required parameter, which limited the flexibility of querying tasks.

Usage:

  • When calling get_tasks(), you can now omit the project_name parameter:

    tasks = scale_client.get_tasks(batch_name='example_batch', status='TaskStatus.Completed')
    
  • The function will work correctly with just the batch_name and status parameters, enhancing flexibility and ease of use.

Additional Notes:

  • This change is backward-compatible; existing code with the project_name parameter will continue to function without modification.

Thank you for using the Scale API Python SDK! If you have any questions or encounter any issues, please reach out to our support team.


Feel free to adjust any details to fit your specific needs or internal documentation style.

over 1 year ago
Download
v2.15.10

v2.15.10

What’s Changed

Full Changelog: https://github.com/scaleapi/scaleapi-python-client/compare/v2.15.9...v2.15.10

almost 2 years ago
Download
Links
Repository Details
  • Stars 63
  • Forks 32
  • Open issues 3
  • License apache-2.0
  • Language Python
  • Size 798 KB
  • Created at over 9 years ago
  • Updated at about 2 months ago
  • Pushed at about 2 months ago
  • Last synced at about 2 months ago
  • Dependencies parsed at Pending
Commit Stats