Skip to content

Releases: forcedotcom/datacloud-customcode-python-sdk

4.0.1b1

05 May 15:26
7b26cca

Choose a tag to compare

4.0.1b1 Pre-release
Pre-release

What's Changed

Full Changelog: v4.0.0...4.0.1b1

v4.0.0

04 May 08:38
da5062c

Choose a tag to compare

v4.0.0 Pre-release
Pre-release

What's Changed

  • Deprecated UdsChunkingV1BatchRequest and UdsChunkingV1BatchResponse
  • Added SearchIndexChunkingV1Request and SearchIndexChunkingV1Response
  • datacustomcode init --code-type function ( SearchIndexChunking is default use-in-feature )
    Creates a function with below signature:
    def function(request: SearchIndexChunkingV1Request, runtime: Runtime) -> SearchIndexChunkingV1Response:

And generates a test.json reading the signature of function. Sample test.json will look like below:

{
"input": [
{
"text": "sample_text",
"metadata": {}
}
],
"max_characters": 100,
"additional_params": {}
}

  • Customer can test function with below command:
    datacustomcode run ./payload/entrypoint.py --test-with payload/tests/test.json

Full Changelog: v3.0.2...v4.0.0

v3.0.2

23 Apr 17:10
cf86d27

Choose a tag to compare

v3.0.2 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v3.0.1...v3.0.2

v3.0.1

22 Apr 13:07
4b5852e

Choose a tag to compare

v3.0.1 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v3.0.0...v3.0.1

v3.0.0

22 Apr 08:20
v3.0.0
128d252

Choose a tag to compare

v3.0.0 Pre-release
Pre-release

What's Changed

  • Introduce new class datacustomcode.function.Runtime to access llm_gateway and file resources for Code Extension Function by @ritaagarwala-sf in #85

  • Introduce datacustomcode.function.feature_types.chunking to support strict typing for Code Extension Function @ritaagarwala-sf n #85

Full Changelog: v2.0.0...v3.0.0

v2.0.0

20 Apr 17:47
243fbb5

Choose a tag to compare

What's Changed

Full Changelog: v1.1.0...v2.0.0

v1.1.0

06 Apr 19:33
6f21a6b

Choose a tag to compare

What's Changed

Full Changelog: v1.0.0...v1.1.0

v1.0.0

03 Apr 16:56
b3e84ee

Choose a tag to compare

What's Changed

  • Lowercase columns for local, to match Data Cloud by @markdlv-sf in #80
  • Consolidate instructions on CONTRIBUTING.md, and include release process by @markdlv-sf in #81

Full Changelog: v0.1.28...v1.0.0

Note on Breaking Changes

While scripts already running in Data Cloud are unaffected, this release contains a breaking change for scripts that are run locally via the datacustomcode run ... command. In order to work properly, scripts must be modified so that column string references are all lowercase. More info in CHANGELOG.md.

Function PyFiles Support

26 Mar 17:51
f914a25

Choose a tag to compare

What's Changed

  • Add py-files support for function python dependency management by @sarasavilli-sf in #77

New Contributors

Full Changelog: v0.1.27...v0.1.28

v0.1.27

17 Mar 14:18
9134460

Choose a tag to compare

What's Changed

Full Changelog: v0.1.26...v0.1.27