opik 1.8.13 → 1.8.15

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.
@@ -416,6 +416,20 @@ interface FindFeedbackScoreNamesRequest {
416
416
  experimentIds?: string;
417
417
  }
418
418
 
419
+ /**
420
+ * This file was auto-generated by Fern from our API Definition.
421
+ */
422
+ /**
423
+ * @example
424
+ * {}
425
+ */
426
+ interface FindExperimentGroupsRequest {
427
+ groups?: string;
428
+ types?: string;
429
+ name?: string;
430
+ filters?: string;
431
+ }
432
+
419
433
  /**
420
434
  * This file was auto-generated by Fern from our API Definition.
421
435
  */
@@ -2003,9 +2017,10 @@ declare const AssistantMessageRole: {
2003
2017
  interface AssistantMessage {
2004
2018
  role?: AssistantMessageRole;
2005
2019
  content?: string;
2020
+ reasoningContent?: string;
2006
2021
  name?: string;
2007
2022
  toolCalls?: ToolCall[];
2008
- refusal?: boolean;
2023
+ refusal?: string;
2009
2024
  functionCall?: FunctionCall;
2010
2025
  }
2011
2026
 
@@ -2048,6 +2063,7 @@ interface CompletionTokensDetails {
2048
2063
  interface Delta {
2049
2064
  role?: string;
2050
2065
  content?: string;
2066
+ reasoningContent?: string;
2051
2067
  toolCalls?: ToolCall[];
2052
2068
  functionCall?: FunctionCall;
2053
2069
  }
@@ -2948,6 +2964,21 @@ interface PromptVersionLinkPublic {
2948
2964
  promptId?: string;
2949
2965
  }
2950
2966
 
2967
+ /**
2968
+ * This file was auto-generated by Fern from our API Definition.
2969
+ */
2970
+
2971
+ interface ExperimentGroupResponse {
2972
+ content?: Record<string, GroupContent>;
2973
+ }
2974
+
2975
+ /**
2976
+ * This file was auto-generated by Fern from our API Definition.
2977
+ */
2978
+ interface GroupContent {
2979
+ label?: string;
2980
+ }
2981
+
2951
2982
  /**
2952
2983
  * This file was auto-generated by Fern from our API Definition.
2953
2984
  */
@@ -5102,6 +5133,19 @@ declare class Experiments {
5102
5133
  */
5103
5134
  findFeedbackScoreNames(request?: FindFeedbackScoreNamesRequest, requestOptions?: Experiments.RequestOptions): HttpResponsePromise<string[]>;
5104
5135
  private __findFeedbackScoreNames;
5136
+ /**
5137
+ * Find experiments grouped by specified fields
5138
+ *
5139
+ * @param {OpikApi.FindExperimentGroupsRequest} request
5140
+ * @param {Experiments.RequestOptions} requestOptions - Request-specific configuration.
5141
+ *
5142
+ * @throws {@link OpikApi.BadRequestError}
5143
+ *
5144
+ * @example
5145
+ * await client.experiments.findExperimentGroups()
5146
+ */
5147
+ findExperimentGroups(request?: FindExperimentGroupsRequest, requestOptions?: Experiments.RequestOptions): HttpResponsePromise<ExperimentGroupResponse>;
5148
+ private __findExperimentGroups;
5105
5149
  /**
5106
5150
  * Get experiment by id
5107
5151
  *
@@ -416,6 +416,20 @@ interface FindFeedbackScoreNamesRequest {
416
416
  experimentIds?: string;
417
417
  }
418
418
 
419
+ /**
420
+ * This file was auto-generated by Fern from our API Definition.
421
+ */
422
+ /**
423
+ * @example
424
+ * {}
425
+ */
426
+ interface FindExperimentGroupsRequest {
427
+ groups?: string;
428
+ types?: string;
429
+ name?: string;
430
+ filters?: string;
431
+ }
432
+
419
433
  /**
420
434
  * This file was auto-generated by Fern from our API Definition.
421
435
  */
@@ -2003,9 +2017,10 @@ declare const AssistantMessageRole: {
2003
2017
  interface AssistantMessage {
2004
2018
  role?: AssistantMessageRole;
2005
2019
  content?: string;
2020
+ reasoningContent?: string;
2006
2021
  name?: string;
2007
2022
  toolCalls?: ToolCall[];
2008
- refusal?: boolean;
2023
+ refusal?: string;
2009
2024
  functionCall?: FunctionCall;
2010
2025
  }
2011
2026
 
@@ -2048,6 +2063,7 @@ interface CompletionTokensDetails {
2048
2063
  interface Delta {
2049
2064
  role?: string;
2050
2065
  content?: string;
2066
+ reasoningContent?: string;
2051
2067
  toolCalls?: ToolCall[];
2052
2068
  functionCall?: FunctionCall;
2053
2069
  }
@@ -2948,6 +2964,21 @@ interface PromptVersionLinkPublic {
2948
2964
  promptId?: string;
2949
2965
  }
2950
2966
 
2967
+ /**
2968
+ * This file was auto-generated by Fern from our API Definition.
2969
+ */
2970
+
2971
+ interface ExperimentGroupResponse {
2972
+ content?: Record<string, GroupContent>;
2973
+ }
2974
+
2975
+ /**
2976
+ * This file was auto-generated by Fern from our API Definition.
2977
+ */
2978
+ interface GroupContent {
2979
+ label?: string;
2980
+ }
2981
+
2951
2982
  /**
2952
2983
  * This file was auto-generated by Fern from our API Definition.
2953
2984
  */
@@ -5102,6 +5133,19 @@ declare class Experiments {
5102
5133
  */
5103
5134
  findFeedbackScoreNames(request?: FindFeedbackScoreNamesRequest, requestOptions?: Experiments.RequestOptions): HttpResponsePromise<string[]>;
5104
5135
  private __findFeedbackScoreNames;
5136
+ /**
5137
+ * Find experiments grouped by specified fields
5138
+ *
5139
+ * @param {OpikApi.FindExperimentGroupsRequest} request
5140
+ * @param {Experiments.RequestOptions} requestOptions - Request-specific configuration.
5141
+ *
5142
+ * @throws {@link OpikApi.BadRequestError}
5143
+ *
5144
+ * @example
5145
+ * await client.experiments.findExperimentGroups()
5146
+ */
5147
+ findExperimentGroups(request?: FindExperimentGroupsRequest, requestOptions?: Experiments.RequestOptions): HttpResponsePromise<ExperimentGroupResponse>;
5148
+ private __findExperimentGroups;
5105
5149
  /**
5106
5150
  * Get experiment by id
5107
5151
  *