Skip to content

Releases: scaleapi/scaleapi-python-client

Update SDK with new Annotation Types, Message Reasoning, & Message Chunks

05 Jun 01:45
f5dba5b
Compare
Choose a tag to compare

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.

v2.16.0

24 Feb 19:17
97bb832
Compare
Choose a tag to compare

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

v2.15.14

05 Sep 23:16
4961474
Compare
Choose a tag to compare

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

v2.15.13

27 Aug 01:07
54c3b3f
Compare
Choose a tag to compare

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.

Release - 2.15.12 Adding MultiStage Task Type

06 Aug 20:08
e3c2d05
Compare
Choose a tag to compare

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

v2.15.11

30 Jul 16:37
f6d64cb
Compare
Choose a tag to compare

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.

v2.15.10

20 Jun 17:15
5661ee8
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.15.9...v2.15.10

v2.15.9

18 Jun 16:19
3f646fd
Compare
Choose a tag to compare

New Features


  • Task creation now supports ChatLite task type

v2.15.8

05 Jun 01:08
396f864
Compare
Choose a tag to compare

Improvements

  • With this change, empty or non-existent raw, retries and history attributes of a Response object is handled more elegantly.

v2.15.7

04 Jun 18:52
7fc823d
Compare
Choose a tag to compare

Improvements

  • This change handles elegantly in case a Session object doesn't have retries and history objects.