Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.3.0"
".": "0.3.1"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
configured_endpoints: 24
openapi_spec_hash: 68055a774f3305fb11efa5b5b5881446
openapi_spec_hash: c97a5263afcc72ca5a47bc5a87683a78
config_hash: f0743196c68fb84cbd06a95f134702b3
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.3.1 (2026-01-08)

Full Changelog: [v0.3.0...v0.3.1](https://github.com/openlayer-ai/openlayer-go/compare/v0.3.0...v0.3.1)

### Chores

* **closes OPEN-8644:** address warnings on Stainless studio ([de613ce](https://github.com/openlayer-ai/openlayer-go/commit/de613cee414f827584da1373a18dde844bc42ecd))
* remove _meta ([5102af9](https://github.com/openlayer-ai/openlayer-go/commit/5102af92c4592a8547b05e564e33ee661ea9accc))

## 0.3.0 (2026-01-08)

Full Changelog: [v0.2.1...v0.3.0](https://github.com/openlayer-ai/openlayer-go/compare/v0.2.1...v0.3.0)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Or to pin the version:
<!-- x-release-please-start-version -->

```sh
go get -u 'github.com/openlayer-ai/openlayer-go@v0.3.0'
go get -u 'github.com/openlayer-ai/openlayer-go@v0.3.1'
```

<!-- x-release-please-end -->
Expand Down
937 changes: 809 additions & 128 deletions inferencepipeline.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion internal/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

package internal

const PackageVersion = "0.3.0" // x-release-please-version
const PackageVersion = "0.3.1" // x-release-please-version
1,293 changes: 1,093 additions & 200 deletions projectinferencepipeline.go

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions projectinferencepipeline_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ func TestProjectInferencePipelineNewWithOptionalParams(t *testing.T) {
openlayer.ProjectInferencePipelineNewParams{
Description: openlayer.F("This pipeline is used for production."),
Name: openlayer.F("production"),
DataBackend: openlayer.F[openlayer.ProjectInferencePipelineNewParamsDataBackendUnion](openlayer.ProjectInferencePipelineNewParamsDataBackendObject{
BackendType: openlayer.F(openlayer.ProjectInferencePipelineNewParamsDataBackendObjectBackendTypeBigquery),
DataBackend: openlayer.F[openlayer.ProjectInferencePipelineNewParamsDataBackendUnion](openlayer.ProjectInferencePipelineNewParamsDataBackendBigQueryDataBackend{
BackendType: openlayer.F(openlayer.ProjectInferencePipelineNewParamsDataBackendBigQueryDataBackendBackendTypeBigquery),
BigqueryConnectionID: openlayer.F("182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e"),
Config: openlayer.F(openlayer.ProjectInferencePipelineNewParamsDataBackendObjectConfig{
Config: openlayer.F(openlayer.ProjectInferencePipelineNewParamsDataBackendBigQueryDataBackendConfig{
GroundTruthColumnName: openlayer.F("ground_truth"),
HumanFeedbackColumnName: openlayer.F("human_feedback"),
InferenceIDColumnName: openlayer.F("id"),
Expand All @@ -44,7 +44,7 @@ func TestProjectInferencePipelineNewWithOptionalParams(t *testing.T) {
DatasetID: openlayer.F("my-dataset"),
ProjectID: openlayer.F("my-project"),
TableID: openlayer.F("my-table"),
PartitionType: openlayer.F(openlayer.ProjectInferencePipelineNewParamsDataBackendObjectPartitionTypeDay),
PartitionType: openlayer.F(openlayer.ProjectInferencePipelineNewParamsDataBackendBigQueryDataBackendPartitionTypeDay),
}),
Project: openlayer.F(openlayer.ProjectInferencePipelineNewParamsProject{
Name: openlayer.F("My Project"),
Expand Down
33 changes: 0 additions & 33 deletions workspaceinvite.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,15 +211,13 @@ func (r workspaceInviteNewResponseItemsWorkspaceJSON) RawJSON() string {
}

type WorkspaceInviteListResponse struct {
Meta WorkspaceInviteListResponse_Meta `json:"_meta,required"`
Items []WorkspaceInviteListResponseItem `json:"items,required"`
JSON workspaceInviteListResponseJSON `json:"-"`
}

// workspaceInviteListResponseJSON contains the JSON metadata for the struct
// [WorkspaceInviteListResponse]
type workspaceInviteListResponseJSON struct {
Meta apijson.Field
Items apijson.Field
raw string
ExtraFields map[string]apijson.Field
Expand All @@ -233,37 +231,6 @@ func (r workspaceInviteListResponseJSON) RawJSON() string {
return r.raw
}

type WorkspaceInviteListResponse_Meta struct {
// The current page.
Page int64 `json:"page,required"`
// The number of items per page.
PerPage int64 `json:"perPage,required"`
// The total number of items.
TotalItems int64 `json:"totalItems,required"`
// The total number of pages.
TotalPages int64 `json:"totalPages,required"`
JSON workspaceInviteListResponseMetaJSON `json:"-"`
}

// workspaceInviteListResponseMetaJSON contains the JSON metadata for the struct
// [WorkspaceInviteListResponse_Meta]
type workspaceInviteListResponseMetaJSON struct {
Page apijson.Field
PerPage apijson.Field
TotalItems apijson.Field
TotalPages apijson.Field
raw string
ExtraFields map[string]apijson.Field
}

func (r *WorkspaceInviteListResponse_Meta) UnmarshalJSON(data []byte) (err error) {
return apijson.UnmarshalRoot(data, r)
}

func (r workspaceInviteListResponseMetaJSON) RawJSON() string {
return r.raw
}

type WorkspaceInviteListResponseItem struct {
// The invite id.
ID string `json:"id,required" format:"uuid"`
Expand Down