opik 2.0.24 → 2.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-4SYOSTVG.js +404 -0
- package/dist/index.cjs +35 -35
- package/dist/index.d.cts +83 -0
- package/dist/index.d.ts +83 -0
- package/dist/index.js +1 -1
- package/dist/{suite-H7TYFEAJ.js → suite-BZFAPKHI.js} +1 -1
- package/package.json +1 -1
- package/dist/chunk-YM2RDU5X.js +0 -404
package/dist/index.d.cts
CHANGED
|
@@ -1758,6 +1758,15 @@ interface GetPromptsByProjectRequest {
|
|
|
1758
1758
|
filters?: string;
|
|
1759
1759
|
}
|
|
1760
1760
|
|
|
1761
|
+
/**
|
|
1762
|
+
* @example
|
|
1763
|
+
* {}
|
|
1764
|
+
*/
|
|
1765
|
+
interface GetRecentActivityRequest {
|
|
1766
|
+
page?: number;
|
|
1767
|
+
size?: number;
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1761
1770
|
/**
|
|
1762
1771
|
* @example
|
|
1763
1772
|
* {
|
|
@@ -2586,6 +2595,7 @@ declare const SpanSearchStreamRequestPublicExcludeItem: {
|
|
|
2586
2595
|
readonly Duration: "duration";
|
|
2587
2596
|
readonly Ttft: "ttft";
|
|
2588
2597
|
readonly Source: "source";
|
|
2598
|
+
readonly Environment: "environment";
|
|
2589
2599
|
};
|
|
2590
2600
|
type SpanSearchStreamRequestPublicExcludeItem = (typeof SpanSearchStreamRequestPublicExcludeItem)[keyof typeof SpanSearchStreamRequestPublicExcludeItem];
|
|
2591
2601
|
|
|
@@ -2966,6 +2976,7 @@ declare const TraceSearchStreamRequestPublicExcludeItem: {
|
|
|
2966
2976
|
readonly Providers: "providers";
|
|
2967
2977
|
readonly Experiment: "experiment";
|
|
2968
2978
|
readonly Source: "source";
|
|
2979
|
+
readonly Environment: "environment";
|
|
2969
2980
|
};
|
|
2970
2981
|
type TraceSearchStreamRequestPublicExcludeItem = (typeof TraceSearchStreamRequestPublicExcludeItem)[keyof typeof TraceSearchStreamRequestPublicExcludeItem];
|
|
2971
2982
|
|
|
@@ -4206,6 +4217,8 @@ declare const DatasetItemFilterOperator: {
|
|
|
4206
4217
|
readonly LessThanOrEqualTo: "<=";
|
|
4207
4218
|
readonly IsEmpty: "is_empty";
|
|
4208
4219
|
readonly IsNotEmpty: "is_not_empty";
|
|
4220
|
+
readonly In: "in";
|
|
4221
|
+
readonly NotIn: "not_in";
|
|
4209
4222
|
};
|
|
4210
4223
|
type DatasetItemFilterOperator = (typeof DatasetItemFilterOperator)[keyof typeof DatasetItemFilterOperator];
|
|
4211
4224
|
|
|
@@ -6117,6 +6130,32 @@ declare const ProviderApiKeyPublicProvider: {
|
|
|
6117
6130
|
};
|
|
6118
6131
|
type ProviderApiKeyPublicProvider = (typeof ProviderApiKeyPublicProvider)[keyof typeof ProviderApiKeyPublicProvider];
|
|
6119
6132
|
|
|
6133
|
+
interface RecentActivityItemPublic {
|
|
6134
|
+
type?: RecentActivityItemPublicType;
|
|
6135
|
+
id?: string;
|
|
6136
|
+
name?: string;
|
|
6137
|
+
resourceId?: string;
|
|
6138
|
+
createdBy?: string;
|
|
6139
|
+
createdAt?: Date;
|
|
6140
|
+
}
|
|
6141
|
+
|
|
6142
|
+
declare const RecentActivityItemPublicType: {
|
|
6143
|
+
readonly Experiment: "experiment";
|
|
6144
|
+
readonly DatasetVersion: "dataset_version";
|
|
6145
|
+
readonly TestSuiteVersion: "test_suite_version";
|
|
6146
|
+
readonly AlertEvent: "alert_event";
|
|
6147
|
+
readonly Optimization: "optimization";
|
|
6148
|
+
readonly AgentConfigVersion: "agent_config_version";
|
|
6149
|
+
};
|
|
6150
|
+
type RecentActivityItemPublicType = (typeof RecentActivityItemPublicType)[keyof typeof RecentActivityItemPublicType];
|
|
6151
|
+
|
|
6152
|
+
interface RecentActivityPagePublic {
|
|
6153
|
+
page?: number;
|
|
6154
|
+
size?: number;
|
|
6155
|
+
total?: number;
|
|
6156
|
+
content?: RecentActivityItemPublic[];
|
|
6157
|
+
}
|
|
6158
|
+
|
|
6120
6159
|
interface ResponseFormat {
|
|
6121
6160
|
type?: ResponseFormatType;
|
|
6122
6161
|
jsonSchema?: JsonSchema;
|
|
@@ -6253,6 +6292,7 @@ interface Span$1 {
|
|
|
6253
6292
|
/** Time to first token in milliseconds */
|
|
6254
6293
|
ttft?: number;
|
|
6255
6294
|
source?: SpanSource;
|
|
6295
|
+
environment?: string;
|
|
6256
6296
|
}
|
|
6257
6297
|
|
|
6258
6298
|
/**
|
|
@@ -6287,6 +6327,7 @@ interface SpanExperimentItemBulkWriteView {
|
|
|
6287
6327
|
/** Time to first token in milliseconds */
|
|
6288
6328
|
ttft?: number;
|
|
6289
6329
|
source?: SpanExperimentItemBulkWriteViewSource;
|
|
6330
|
+
environment?: string;
|
|
6290
6331
|
}
|
|
6291
6332
|
|
|
6292
6333
|
declare const SpanExperimentItemBulkWriteViewSource: {
|
|
@@ -6325,6 +6366,8 @@ declare const SpanFilterOperator: {
|
|
|
6325
6366
|
readonly LessThanOrEqualTo: "<=";
|
|
6326
6367
|
readonly IsEmpty: "is_empty";
|
|
6327
6368
|
readonly IsNotEmpty: "is_not_empty";
|
|
6369
|
+
readonly In: "in";
|
|
6370
|
+
readonly NotIn: "not_in";
|
|
6328
6371
|
};
|
|
6329
6372
|
type SpanFilterOperator = (typeof SpanFilterOperator)[keyof typeof SpanFilterOperator];
|
|
6330
6373
|
|
|
@@ -6348,6 +6391,8 @@ declare const SpanFilterPublicOperator: {
|
|
|
6348
6391
|
readonly LessThanOrEqualTo: "<=";
|
|
6349
6392
|
readonly IsEmpty: "is_empty";
|
|
6350
6393
|
readonly IsNotEmpty: "is_not_empty";
|
|
6394
|
+
readonly In: "in";
|
|
6395
|
+
readonly NotIn: "not_in";
|
|
6351
6396
|
};
|
|
6352
6397
|
type SpanFilterPublicOperator = (typeof SpanFilterPublicOperator)[keyof typeof SpanFilterPublicOperator];
|
|
6353
6398
|
|
|
@@ -6371,6 +6416,8 @@ declare const SpanFilterWriteOperator: {
|
|
|
6371
6416
|
readonly LessThanOrEqualTo: "<=";
|
|
6372
6417
|
readonly IsEmpty: "is_empty";
|
|
6373
6418
|
readonly IsNotEmpty: "is_not_empty";
|
|
6419
|
+
readonly In: "in";
|
|
6420
|
+
readonly NotIn: "not_in";
|
|
6374
6421
|
};
|
|
6375
6422
|
type SpanFilterWriteOperator = (typeof SpanFilterWriteOperator)[keyof typeof SpanFilterWriteOperator];
|
|
6376
6423
|
|
|
@@ -6435,6 +6482,7 @@ interface SpanPublic {
|
|
|
6435
6482
|
/** Time to first token in milliseconds */
|
|
6436
6483
|
ttft?: number;
|
|
6437
6484
|
source?: SpanPublicSource;
|
|
6485
|
+
environment?: string;
|
|
6438
6486
|
}
|
|
6439
6487
|
|
|
6440
6488
|
declare const SpanPublicSource: {
|
|
@@ -6499,6 +6547,7 @@ interface SpanUpdate$1 {
|
|
|
6499
6547
|
errorInfo?: ErrorInfo;
|
|
6500
6548
|
ttft?: number;
|
|
6501
6549
|
source?: SpanUpdateSource;
|
|
6550
|
+
environment?: string;
|
|
6502
6551
|
}
|
|
6503
6552
|
|
|
6504
6553
|
declare const SpanUpdateSource: {
|
|
@@ -6556,6 +6605,7 @@ interface SpanWrite {
|
|
|
6556
6605
|
/** Time to first token in milliseconds */
|
|
6557
6606
|
ttft?: number;
|
|
6558
6607
|
source?: SpanWriteSource;
|
|
6608
|
+
environment?: string;
|
|
6559
6609
|
}
|
|
6560
6610
|
|
|
6561
6611
|
declare const SpanWriteSource: {
|
|
@@ -6702,6 +6752,7 @@ interface Trace$1 {
|
|
|
6702
6752
|
providers?: string[];
|
|
6703
6753
|
experiment?: ExperimentItemReference;
|
|
6704
6754
|
source?: TraceSource;
|
|
6755
|
+
environment?: string;
|
|
6705
6756
|
}
|
|
6706
6757
|
|
|
6707
6758
|
interface TraceCountResponse {
|
|
@@ -6740,6 +6791,7 @@ interface TraceExperimentItemBulkWriteView {
|
|
|
6740
6791
|
ttft?: number;
|
|
6741
6792
|
threadId?: string;
|
|
6742
6793
|
source?: TraceExperimentItemBulkWriteViewSource;
|
|
6794
|
+
environment?: string;
|
|
6743
6795
|
}
|
|
6744
6796
|
|
|
6745
6797
|
declare const TraceExperimentItemBulkWriteViewSource: {
|
|
@@ -6770,6 +6822,8 @@ declare const TraceFilterOperator: {
|
|
|
6770
6822
|
readonly LessThanOrEqualTo: "<=";
|
|
6771
6823
|
readonly IsEmpty: "is_empty";
|
|
6772
6824
|
readonly IsNotEmpty: "is_not_empty";
|
|
6825
|
+
readonly In: "in";
|
|
6826
|
+
readonly NotIn: "not_in";
|
|
6773
6827
|
};
|
|
6774
6828
|
type TraceFilterOperator = (typeof TraceFilterOperator)[keyof typeof TraceFilterOperator];
|
|
6775
6829
|
|
|
@@ -6793,6 +6847,8 @@ declare const TraceFilterPublicOperator: {
|
|
|
6793
6847
|
readonly LessThanOrEqualTo: "<=";
|
|
6794
6848
|
readonly IsEmpty: "is_empty";
|
|
6795
6849
|
readonly IsNotEmpty: "is_not_empty";
|
|
6850
|
+
readonly In: "in";
|
|
6851
|
+
readonly NotIn: "not_in";
|
|
6796
6852
|
};
|
|
6797
6853
|
type TraceFilterPublicOperator = (typeof TraceFilterPublicOperator)[keyof typeof TraceFilterPublicOperator];
|
|
6798
6854
|
|
|
@@ -6816,6 +6872,8 @@ declare const TraceFilterWriteOperator: {
|
|
|
6816
6872
|
readonly LessThanOrEqualTo: "<=";
|
|
6817
6873
|
readonly IsEmpty: "is_empty";
|
|
6818
6874
|
readonly IsNotEmpty: "is_not_empty";
|
|
6875
|
+
readonly In: "in";
|
|
6876
|
+
readonly NotIn: "not_in";
|
|
6819
6877
|
};
|
|
6820
6878
|
type TraceFilterWriteOperator = (typeof TraceFilterWriteOperator)[keyof typeof TraceFilterWriteOperator];
|
|
6821
6879
|
|
|
@@ -6862,6 +6920,7 @@ interface TracePublic {
|
|
|
6862
6920
|
providers?: string[];
|
|
6863
6921
|
experiment?: ExperimentItemReferencePublic;
|
|
6864
6922
|
source?: TracePublicSource;
|
|
6923
|
+
environment?: string;
|
|
6865
6924
|
}
|
|
6866
6925
|
|
|
6867
6926
|
declare const TracePublicSource: {
|
|
@@ -6906,6 +6965,7 @@ interface TraceThread {
|
|
|
6906
6965
|
lastUpdatedBy?: string;
|
|
6907
6966
|
createdBy?: string;
|
|
6908
6967
|
createdAt?: Date;
|
|
6968
|
+
environment?: string;
|
|
6909
6969
|
}
|
|
6910
6970
|
|
|
6911
6971
|
interface TraceThreadFilter {
|
|
@@ -6928,6 +6988,8 @@ declare const TraceThreadFilterOperator: {
|
|
|
6928
6988
|
readonly LessThanOrEqualTo: "<=";
|
|
6929
6989
|
readonly IsEmpty: "is_empty";
|
|
6930
6990
|
readonly IsNotEmpty: "is_not_empty";
|
|
6991
|
+
readonly In: "in";
|
|
6992
|
+
readonly NotIn: "not_in";
|
|
6931
6993
|
};
|
|
6932
6994
|
type TraceThreadFilterOperator = (typeof TraceThreadFilterOperator)[keyof typeof TraceThreadFilterOperator];
|
|
6933
6995
|
|
|
@@ -6951,6 +7013,8 @@ declare const TraceThreadFilterPublicOperator: {
|
|
|
6951
7013
|
readonly LessThanOrEqualTo: "<=";
|
|
6952
7014
|
readonly IsEmpty: "is_empty";
|
|
6953
7015
|
readonly IsNotEmpty: "is_not_empty";
|
|
7016
|
+
readonly In: "in";
|
|
7017
|
+
readonly NotIn: "not_in";
|
|
6954
7018
|
};
|
|
6955
7019
|
type TraceThreadFilterPublicOperator = (typeof TraceThreadFilterPublicOperator)[keyof typeof TraceThreadFilterPublicOperator];
|
|
6956
7020
|
|
|
@@ -6974,6 +7038,8 @@ declare const TraceThreadFilterWriteOperator: {
|
|
|
6974
7038
|
readonly LessThanOrEqualTo: "<=";
|
|
6975
7039
|
readonly IsEmpty: "is_empty";
|
|
6976
7040
|
readonly IsNotEmpty: "is_not_empty";
|
|
7041
|
+
readonly In: "in";
|
|
7042
|
+
readonly NotIn: "not_in";
|
|
6977
7043
|
};
|
|
6978
7044
|
type TraceThreadFilterWriteOperator = (typeof TraceThreadFilterWriteOperator)[keyof typeof TraceThreadFilterWriteOperator];
|
|
6979
7045
|
|
|
@@ -7054,6 +7120,7 @@ interface TraceUpdate {
|
|
|
7054
7120
|
threadId?: string;
|
|
7055
7121
|
ttft?: number;
|
|
7056
7122
|
source?: TraceUpdateSource;
|
|
7123
|
+
environment?: string;
|
|
7057
7124
|
}
|
|
7058
7125
|
|
|
7059
7126
|
declare const TraceUpdateSource: {
|
|
@@ -7087,6 +7154,7 @@ interface TraceWrite {
|
|
|
7087
7154
|
ttft?: number;
|
|
7088
7155
|
threadId?: string;
|
|
7089
7156
|
source?: TraceWriteSource;
|
|
7157
|
+
environment?: string;
|
|
7090
7158
|
}
|
|
7091
7159
|
|
|
7092
7160
|
declare const TraceWriteSource: {
|
|
@@ -10063,6 +10131,21 @@ declare class ProjectsClient {
|
|
|
10063
10131
|
*/
|
|
10064
10132
|
retrieveProject(request: ProjectRetrieveDetailed, requestOptions?: ProjectsClient.RequestOptions): HttpResponsePromise<ProjectDetailed>;
|
|
10065
10133
|
private __retrieveProject;
|
|
10134
|
+
/**
|
|
10135
|
+
* Returns the most recent activity items across all entity types for a project, sorted by date descending.
|
|
10136
|
+
*
|
|
10137
|
+
* @param {string} projectId
|
|
10138
|
+
* @param {OpikApi.GetRecentActivityRequest} request
|
|
10139
|
+
* @param {ProjectsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
10140
|
+
*
|
|
10141
|
+
* @throws {@link OpikApi.BadRequestError}
|
|
10142
|
+
* @throws {@link OpikApi.InternalServerError}
|
|
10143
|
+
*
|
|
10144
|
+
* @example
|
|
10145
|
+
* await client.projects.getRecentActivity("projectId")
|
|
10146
|
+
*/
|
|
10147
|
+
getRecentActivity(projectId: string, request?: GetRecentActivityRequest, requestOptions?: ProjectsClient.RequestOptions): HttpResponsePromise<RecentActivityPagePublic>;
|
|
10148
|
+
private __getRecentActivity;
|
|
10066
10149
|
}
|
|
10067
10150
|
|
|
10068
10151
|
declare namespace PromptsClient {
|
package/dist/index.d.ts
CHANGED
|
@@ -1758,6 +1758,15 @@ interface GetPromptsByProjectRequest {
|
|
|
1758
1758
|
filters?: string;
|
|
1759
1759
|
}
|
|
1760
1760
|
|
|
1761
|
+
/**
|
|
1762
|
+
* @example
|
|
1763
|
+
* {}
|
|
1764
|
+
*/
|
|
1765
|
+
interface GetRecentActivityRequest {
|
|
1766
|
+
page?: number;
|
|
1767
|
+
size?: number;
|
|
1768
|
+
}
|
|
1769
|
+
|
|
1761
1770
|
/**
|
|
1762
1771
|
* @example
|
|
1763
1772
|
* {
|
|
@@ -2586,6 +2595,7 @@ declare const SpanSearchStreamRequestPublicExcludeItem: {
|
|
|
2586
2595
|
readonly Duration: "duration";
|
|
2587
2596
|
readonly Ttft: "ttft";
|
|
2588
2597
|
readonly Source: "source";
|
|
2598
|
+
readonly Environment: "environment";
|
|
2589
2599
|
};
|
|
2590
2600
|
type SpanSearchStreamRequestPublicExcludeItem = (typeof SpanSearchStreamRequestPublicExcludeItem)[keyof typeof SpanSearchStreamRequestPublicExcludeItem];
|
|
2591
2601
|
|
|
@@ -2966,6 +2976,7 @@ declare const TraceSearchStreamRequestPublicExcludeItem: {
|
|
|
2966
2976
|
readonly Providers: "providers";
|
|
2967
2977
|
readonly Experiment: "experiment";
|
|
2968
2978
|
readonly Source: "source";
|
|
2979
|
+
readonly Environment: "environment";
|
|
2969
2980
|
};
|
|
2970
2981
|
type TraceSearchStreamRequestPublicExcludeItem = (typeof TraceSearchStreamRequestPublicExcludeItem)[keyof typeof TraceSearchStreamRequestPublicExcludeItem];
|
|
2971
2982
|
|
|
@@ -4206,6 +4217,8 @@ declare const DatasetItemFilterOperator: {
|
|
|
4206
4217
|
readonly LessThanOrEqualTo: "<=";
|
|
4207
4218
|
readonly IsEmpty: "is_empty";
|
|
4208
4219
|
readonly IsNotEmpty: "is_not_empty";
|
|
4220
|
+
readonly In: "in";
|
|
4221
|
+
readonly NotIn: "not_in";
|
|
4209
4222
|
};
|
|
4210
4223
|
type DatasetItemFilterOperator = (typeof DatasetItemFilterOperator)[keyof typeof DatasetItemFilterOperator];
|
|
4211
4224
|
|
|
@@ -6117,6 +6130,32 @@ declare const ProviderApiKeyPublicProvider: {
|
|
|
6117
6130
|
};
|
|
6118
6131
|
type ProviderApiKeyPublicProvider = (typeof ProviderApiKeyPublicProvider)[keyof typeof ProviderApiKeyPublicProvider];
|
|
6119
6132
|
|
|
6133
|
+
interface RecentActivityItemPublic {
|
|
6134
|
+
type?: RecentActivityItemPublicType;
|
|
6135
|
+
id?: string;
|
|
6136
|
+
name?: string;
|
|
6137
|
+
resourceId?: string;
|
|
6138
|
+
createdBy?: string;
|
|
6139
|
+
createdAt?: Date;
|
|
6140
|
+
}
|
|
6141
|
+
|
|
6142
|
+
declare const RecentActivityItemPublicType: {
|
|
6143
|
+
readonly Experiment: "experiment";
|
|
6144
|
+
readonly DatasetVersion: "dataset_version";
|
|
6145
|
+
readonly TestSuiteVersion: "test_suite_version";
|
|
6146
|
+
readonly AlertEvent: "alert_event";
|
|
6147
|
+
readonly Optimization: "optimization";
|
|
6148
|
+
readonly AgentConfigVersion: "agent_config_version";
|
|
6149
|
+
};
|
|
6150
|
+
type RecentActivityItemPublicType = (typeof RecentActivityItemPublicType)[keyof typeof RecentActivityItemPublicType];
|
|
6151
|
+
|
|
6152
|
+
interface RecentActivityPagePublic {
|
|
6153
|
+
page?: number;
|
|
6154
|
+
size?: number;
|
|
6155
|
+
total?: number;
|
|
6156
|
+
content?: RecentActivityItemPublic[];
|
|
6157
|
+
}
|
|
6158
|
+
|
|
6120
6159
|
interface ResponseFormat {
|
|
6121
6160
|
type?: ResponseFormatType;
|
|
6122
6161
|
jsonSchema?: JsonSchema;
|
|
@@ -6253,6 +6292,7 @@ interface Span$1 {
|
|
|
6253
6292
|
/** Time to first token in milliseconds */
|
|
6254
6293
|
ttft?: number;
|
|
6255
6294
|
source?: SpanSource;
|
|
6295
|
+
environment?: string;
|
|
6256
6296
|
}
|
|
6257
6297
|
|
|
6258
6298
|
/**
|
|
@@ -6287,6 +6327,7 @@ interface SpanExperimentItemBulkWriteView {
|
|
|
6287
6327
|
/** Time to first token in milliseconds */
|
|
6288
6328
|
ttft?: number;
|
|
6289
6329
|
source?: SpanExperimentItemBulkWriteViewSource;
|
|
6330
|
+
environment?: string;
|
|
6290
6331
|
}
|
|
6291
6332
|
|
|
6292
6333
|
declare const SpanExperimentItemBulkWriteViewSource: {
|
|
@@ -6325,6 +6366,8 @@ declare const SpanFilterOperator: {
|
|
|
6325
6366
|
readonly LessThanOrEqualTo: "<=";
|
|
6326
6367
|
readonly IsEmpty: "is_empty";
|
|
6327
6368
|
readonly IsNotEmpty: "is_not_empty";
|
|
6369
|
+
readonly In: "in";
|
|
6370
|
+
readonly NotIn: "not_in";
|
|
6328
6371
|
};
|
|
6329
6372
|
type SpanFilterOperator = (typeof SpanFilterOperator)[keyof typeof SpanFilterOperator];
|
|
6330
6373
|
|
|
@@ -6348,6 +6391,8 @@ declare const SpanFilterPublicOperator: {
|
|
|
6348
6391
|
readonly LessThanOrEqualTo: "<=";
|
|
6349
6392
|
readonly IsEmpty: "is_empty";
|
|
6350
6393
|
readonly IsNotEmpty: "is_not_empty";
|
|
6394
|
+
readonly In: "in";
|
|
6395
|
+
readonly NotIn: "not_in";
|
|
6351
6396
|
};
|
|
6352
6397
|
type SpanFilterPublicOperator = (typeof SpanFilterPublicOperator)[keyof typeof SpanFilterPublicOperator];
|
|
6353
6398
|
|
|
@@ -6371,6 +6416,8 @@ declare const SpanFilterWriteOperator: {
|
|
|
6371
6416
|
readonly LessThanOrEqualTo: "<=";
|
|
6372
6417
|
readonly IsEmpty: "is_empty";
|
|
6373
6418
|
readonly IsNotEmpty: "is_not_empty";
|
|
6419
|
+
readonly In: "in";
|
|
6420
|
+
readonly NotIn: "not_in";
|
|
6374
6421
|
};
|
|
6375
6422
|
type SpanFilterWriteOperator = (typeof SpanFilterWriteOperator)[keyof typeof SpanFilterWriteOperator];
|
|
6376
6423
|
|
|
@@ -6435,6 +6482,7 @@ interface SpanPublic {
|
|
|
6435
6482
|
/** Time to first token in milliseconds */
|
|
6436
6483
|
ttft?: number;
|
|
6437
6484
|
source?: SpanPublicSource;
|
|
6485
|
+
environment?: string;
|
|
6438
6486
|
}
|
|
6439
6487
|
|
|
6440
6488
|
declare const SpanPublicSource: {
|
|
@@ -6499,6 +6547,7 @@ interface SpanUpdate$1 {
|
|
|
6499
6547
|
errorInfo?: ErrorInfo;
|
|
6500
6548
|
ttft?: number;
|
|
6501
6549
|
source?: SpanUpdateSource;
|
|
6550
|
+
environment?: string;
|
|
6502
6551
|
}
|
|
6503
6552
|
|
|
6504
6553
|
declare const SpanUpdateSource: {
|
|
@@ -6556,6 +6605,7 @@ interface SpanWrite {
|
|
|
6556
6605
|
/** Time to first token in milliseconds */
|
|
6557
6606
|
ttft?: number;
|
|
6558
6607
|
source?: SpanWriteSource;
|
|
6608
|
+
environment?: string;
|
|
6559
6609
|
}
|
|
6560
6610
|
|
|
6561
6611
|
declare const SpanWriteSource: {
|
|
@@ -6702,6 +6752,7 @@ interface Trace$1 {
|
|
|
6702
6752
|
providers?: string[];
|
|
6703
6753
|
experiment?: ExperimentItemReference;
|
|
6704
6754
|
source?: TraceSource;
|
|
6755
|
+
environment?: string;
|
|
6705
6756
|
}
|
|
6706
6757
|
|
|
6707
6758
|
interface TraceCountResponse {
|
|
@@ -6740,6 +6791,7 @@ interface TraceExperimentItemBulkWriteView {
|
|
|
6740
6791
|
ttft?: number;
|
|
6741
6792
|
threadId?: string;
|
|
6742
6793
|
source?: TraceExperimentItemBulkWriteViewSource;
|
|
6794
|
+
environment?: string;
|
|
6743
6795
|
}
|
|
6744
6796
|
|
|
6745
6797
|
declare const TraceExperimentItemBulkWriteViewSource: {
|
|
@@ -6770,6 +6822,8 @@ declare const TraceFilterOperator: {
|
|
|
6770
6822
|
readonly LessThanOrEqualTo: "<=";
|
|
6771
6823
|
readonly IsEmpty: "is_empty";
|
|
6772
6824
|
readonly IsNotEmpty: "is_not_empty";
|
|
6825
|
+
readonly In: "in";
|
|
6826
|
+
readonly NotIn: "not_in";
|
|
6773
6827
|
};
|
|
6774
6828
|
type TraceFilterOperator = (typeof TraceFilterOperator)[keyof typeof TraceFilterOperator];
|
|
6775
6829
|
|
|
@@ -6793,6 +6847,8 @@ declare const TraceFilterPublicOperator: {
|
|
|
6793
6847
|
readonly LessThanOrEqualTo: "<=";
|
|
6794
6848
|
readonly IsEmpty: "is_empty";
|
|
6795
6849
|
readonly IsNotEmpty: "is_not_empty";
|
|
6850
|
+
readonly In: "in";
|
|
6851
|
+
readonly NotIn: "not_in";
|
|
6796
6852
|
};
|
|
6797
6853
|
type TraceFilterPublicOperator = (typeof TraceFilterPublicOperator)[keyof typeof TraceFilterPublicOperator];
|
|
6798
6854
|
|
|
@@ -6816,6 +6872,8 @@ declare const TraceFilterWriteOperator: {
|
|
|
6816
6872
|
readonly LessThanOrEqualTo: "<=";
|
|
6817
6873
|
readonly IsEmpty: "is_empty";
|
|
6818
6874
|
readonly IsNotEmpty: "is_not_empty";
|
|
6875
|
+
readonly In: "in";
|
|
6876
|
+
readonly NotIn: "not_in";
|
|
6819
6877
|
};
|
|
6820
6878
|
type TraceFilterWriteOperator = (typeof TraceFilterWriteOperator)[keyof typeof TraceFilterWriteOperator];
|
|
6821
6879
|
|
|
@@ -6862,6 +6920,7 @@ interface TracePublic {
|
|
|
6862
6920
|
providers?: string[];
|
|
6863
6921
|
experiment?: ExperimentItemReferencePublic;
|
|
6864
6922
|
source?: TracePublicSource;
|
|
6923
|
+
environment?: string;
|
|
6865
6924
|
}
|
|
6866
6925
|
|
|
6867
6926
|
declare const TracePublicSource: {
|
|
@@ -6906,6 +6965,7 @@ interface TraceThread {
|
|
|
6906
6965
|
lastUpdatedBy?: string;
|
|
6907
6966
|
createdBy?: string;
|
|
6908
6967
|
createdAt?: Date;
|
|
6968
|
+
environment?: string;
|
|
6909
6969
|
}
|
|
6910
6970
|
|
|
6911
6971
|
interface TraceThreadFilter {
|
|
@@ -6928,6 +6988,8 @@ declare const TraceThreadFilterOperator: {
|
|
|
6928
6988
|
readonly LessThanOrEqualTo: "<=";
|
|
6929
6989
|
readonly IsEmpty: "is_empty";
|
|
6930
6990
|
readonly IsNotEmpty: "is_not_empty";
|
|
6991
|
+
readonly In: "in";
|
|
6992
|
+
readonly NotIn: "not_in";
|
|
6931
6993
|
};
|
|
6932
6994
|
type TraceThreadFilterOperator = (typeof TraceThreadFilterOperator)[keyof typeof TraceThreadFilterOperator];
|
|
6933
6995
|
|
|
@@ -6951,6 +7013,8 @@ declare const TraceThreadFilterPublicOperator: {
|
|
|
6951
7013
|
readonly LessThanOrEqualTo: "<=";
|
|
6952
7014
|
readonly IsEmpty: "is_empty";
|
|
6953
7015
|
readonly IsNotEmpty: "is_not_empty";
|
|
7016
|
+
readonly In: "in";
|
|
7017
|
+
readonly NotIn: "not_in";
|
|
6954
7018
|
};
|
|
6955
7019
|
type TraceThreadFilterPublicOperator = (typeof TraceThreadFilterPublicOperator)[keyof typeof TraceThreadFilterPublicOperator];
|
|
6956
7020
|
|
|
@@ -6974,6 +7038,8 @@ declare const TraceThreadFilterWriteOperator: {
|
|
|
6974
7038
|
readonly LessThanOrEqualTo: "<=";
|
|
6975
7039
|
readonly IsEmpty: "is_empty";
|
|
6976
7040
|
readonly IsNotEmpty: "is_not_empty";
|
|
7041
|
+
readonly In: "in";
|
|
7042
|
+
readonly NotIn: "not_in";
|
|
6977
7043
|
};
|
|
6978
7044
|
type TraceThreadFilterWriteOperator = (typeof TraceThreadFilterWriteOperator)[keyof typeof TraceThreadFilterWriteOperator];
|
|
6979
7045
|
|
|
@@ -7054,6 +7120,7 @@ interface TraceUpdate {
|
|
|
7054
7120
|
threadId?: string;
|
|
7055
7121
|
ttft?: number;
|
|
7056
7122
|
source?: TraceUpdateSource;
|
|
7123
|
+
environment?: string;
|
|
7057
7124
|
}
|
|
7058
7125
|
|
|
7059
7126
|
declare const TraceUpdateSource: {
|
|
@@ -7087,6 +7154,7 @@ interface TraceWrite {
|
|
|
7087
7154
|
ttft?: number;
|
|
7088
7155
|
threadId?: string;
|
|
7089
7156
|
source?: TraceWriteSource;
|
|
7157
|
+
environment?: string;
|
|
7090
7158
|
}
|
|
7091
7159
|
|
|
7092
7160
|
declare const TraceWriteSource: {
|
|
@@ -10063,6 +10131,21 @@ declare class ProjectsClient {
|
|
|
10063
10131
|
*/
|
|
10064
10132
|
retrieveProject(request: ProjectRetrieveDetailed, requestOptions?: ProjectsClient.RequestOptions): HttpResponsePromise<ProjectDetailed>;
|
|
10065
10133
|
private __retrieveProject;
|
|
10134
|
+
/**
|
|
10135
|
+
* Returns the most recent activity items across all entity types for a project, sorted by date descending.
|
|
10136
|
+
*
|
|
10137
|
+
* @param {string} projectId
|
|
10138
|
+
* @param {OpikApi.GetRecentActivityRequest} request
|
|
10139
|
+
* @param {ProjectsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
10140
|
+
*
|
|
10141
|
+
* @throws {@link OpikApi.BadRequestError}
|
|
10142
|
+
* @throws {@link OpikApi.InternalServerError}
|
|
10143
|
+
*
|
|
10144
|
+
* @example
|
|
10145
|
+
* await client.projects.getRecentActivity("projectId")
|
|
10146
|
+
*/
|
|
10147
|
+
getRecentActivity(projectId: string, request?: GetRecentActivityRequest, requestOptions?: ProjectsClient.RequestOptions): HttpResponsePromise<RecentActivityPagePublic>;
|
|
10148
|
+
private __getRecentActivity;
|
|
10066
10149
|
}
|
|
10067
10150
|
|
|
10068
10151
|
declare namespace PromptsClient {
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import {Ea}from'./chunk-
|
|
1
|
+
import {Ea}from'./chunk-4SYOSTVG.js';export{ra as AgentTaskCompletionJudge,qa as AgentToolCorrectnessJudge,ea as AnswerRelevance,aa as BaseLLMJudgeMetric,B as BaseMetric,C as BaseSuiteEvaluator,p as ChatPrompt,ta as ComplianceRiskJudge,i as ConfigMismatchError,h as ConfigNotFoundError,Z as Contains,y as DEFAULT_EXECUTION_POLICY,j as Dataset,f as DatasetVersion,g as DatasetVersionNotFoundError,la as DemographicBiasJudge,ja as DialogueHelpfulnessJudge,Y as ExactMatch,fa as GEval,ga as GEvalPreset,na as GenderBiasJudge,da as Hallucination,$ as IsJson,P as LLMJudge,G as ModelConfigurationError,E as ModelError,F as ModelGenerationError,ba as Moderation,Ba as OPIK_PARENT_SPAN_ID_HEADER,Aa as OPIK_TRACE_ID_HEADER,za as Opik,D as OpikBaseModel,q as OpikQueryLanguage,d as OpikSpanType,ma as PoliticalBiasJudge,o as Prompt,k as PromptType,sa as PromptUncertaintyJudge,ka as QARelevanceJudge,_ as RegexMatch,pa as RegionalBiasJudge,oa as ReligiousBiasJudge,O as ResponseSchema,M as SYSTEM_PROMPT,ia as SummarizationCoherenceJudge,ha as SummarizationConsistencyJudge,xa as TestSuite,z as TestSuiteResult,s as ThreadsAnnotationQueue,r as TracesAnnotationQueue,N as USER_PROMPT_TEMPLATE,ca as Usefulness,I as VercelAIChatModel,v as activateRunner,t as agentConfigContext,A as buildSuiteResult,J as createModel,K as createModelFromInstance,R as deserializeEvaluators,H as detectProvider,c as disableLogger,W as evaluate,X as evaluatePrompt,U as evaluateTestSuite,u as flushAll,e as generateId,Ca as getDistributedTraceHeaders,l as getGlobalClient,w as getTrackContext,a as logger,n as resetGlobalClient,ua as resolveEvaluators,S as resolveExecutionPolicy,T as resolveItemExecutionPolicy,L as resolveModel,V as runTests,Q as serializeEvaluators,m as setGlobalClient,b as setLoggerLevel,x as track,va as validateEvaluators,wa as validateExecutionPolicy,Da as z}from'./chunk-4SYOSTVG.js';Ea();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {ya}from'./chunk-
|
|
1
|
+
import {ya}from'./chunk-4SYOSTVG.js';export{y as DEFAULT_EXECUTION_POLICY,xa as TestSuite,z as TestSuiteResult,A as buildSuiteResult,R as deserializeEvaluators,U as evaluateTestSuite,S as resolveExecutionPolicy,T as resolveItemExecutionPolicy,V as runTests,Q as serializeEvaluators}from'./chunk-4SYOSTVG.js';ya();
|