opik 1.7.42 → 1.8.0
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/{Client-ChSFNOAy.d.cts → Client-Cm3T8rMF.d.cts} +15 -16
- package/dist/{Client-ChSFNOAy.d.ts → Client-Cm3T8rMF.d.ts} +15 -16
- package/dist/chunk-OWLBQI5M.js +9 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/vercel/index.cjs +2 -2
- package/dist/vercel/index.d.cts +1 -1
- package/dist/vercel/index.d.ts +1 -1
- package/dist/vercel/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-LLVFG2H4.js +0 -9
|
@@ -460,13 +460,14 @@ interface FindFeedbackDefinitionsRequest {
|
|
|
460
460
|
/**
|
|
461
461
|
* This file was auto-generated by Fern from our API Definition.
|
|
462
462
|
*/
|
|
463
|
-
type ProviderApiKeyWriteProvider = "openai" | "anthropic" | "gemini" | "openrouter" | "vertex-ai";
|
|
463
|
+
type ProviderApiKeyWriteProvider = "openai" | "anthropic" | "gemini" | "openrouter" | "vertex-ai" | "custom-llm";
|
|
464
464
|
declare const ProviderApiKeyWriteProvider: {
|
|
465
465
|
readonly Openai: "openai";
|
|
466
466
|
readonly Anthropic: "anthropic";
|
|
467
467
|
readonly Gemini: "gemini";
|
|
468
468
|
readonly Openrouter: "openrouter";
|
|
469
469
|
readonly VertexAi: "vertex-ai";
|
|
470
|
+
readonly CustomLlm: "custom-llm";
|
|
470
471
|
};
|
|
471
472
|
|
|
472
473
|
/**
|
|
@@ -476,13 +477,12 @@ declare const ProviderApiKeyWriteProvider: {
|
|
|
476
477
|
/**
|
|
477
478
|
* @example
|
|
478
479
|
* {
|
|
479
|
-
* provider: "openai"
|
|
480
|
-
* apiKey: "api_key"
|
|
480
|
+
* provider: "openai"
|
|
481
481
|
* }
|
|
482
482
|
*/
|
|
483
483
|
interface ProviderApiKeyWrite {
|
|
484
484
|
provider: ProviderApiKeyWriteProvider;
|
|
485
|
-
apiKey
|
|
485
|
+
apiKey?: string;
|
|
486
486
|
name?: string;
|
|
487
487
|
headers?: Record<string, string>;
|
|
488
488
|
configuration?: Record<string, string>;
|
|
@@ -494,13 +494,14 @@ interface ProviderApiKeyWrite {
|
|
|
494
494
|
*/
|
|
495
495
|
/**
|
|
496
496
|
* @example
|
|
497
|
-
* {
|
|
498
|
-
* apiKey: "api_key"
|
|
499
|
-
* }
|
|
497
|
+
* {}
|
|
500
498
|
*/
|
|
501
499
|
interface ProviderApiKeyUpdate {
|
|
502
|
-
apiKey
|
|
500
|
+
apiKey?: string;
|
|
503
501
|
name?: string;
|
|
502
|
+
headers?: Record<string, string>;
|
|
503
|
+
configuration?: Record<string, string>;
|
|
504
|
+
baseUrl?: string;
|
|
504
505
|
}
|
|
505
506
|
|
|
506
507
|
/**
|
|
@@ -3171,13 +3172,14 @@ interface ProviderApiKeyPagePublic {
|
|
|
3171
3172
|
/**
|
|
3172
3173
|
* This file was auto-generated by Fern from our API Definition.
|
|
3173
3174
|
*/
|
|
3174
|
-
type ProviderApiKeyPublicProvider = "openai" | "anthropic" | "gemini" | "openrouter" | "vertex-ai";
|
|
3175
|
+
type ProviderApiKeyPublicProvider = "openai" | "anthropic" | "gemini" | "openrouter" | "vertex-ai" | "custom-llm";
|
|
3175
3176
|
declare const ProviderApiKeyPublicProvider: {
|
|
3176
3177
|
readonly Openai: "openai";
|
|
3177
3178
|
readonly Anthropic: "anthropic";
|
|
3178
3179
|
readonly Gemini: "gemini";
|
|
3179
3180
|
readonly Openrouter: "openrouter";
|
|
3180
3181
|
readonly VertexAi: "vertex-ai";
|
|
3182
|
+
readonly CustomLlm: "custom-llm";
|
|
3181
3183
|
};
|
|
3182
3184
|
|
|
3183
3185
|
/**
|
|
@@ -3187,7 +3189,7 @@ declare const ProviderApiKeyPublicProvider: {
|
|
|
3187
3189
|
interface ProviderApiKeyPublic {
|
|
3188
3190
|
id?: string;
|
|
3189
3191
|
provider: ProviderApiKeyPublicProvider;
|
|
3190
|
-
apiKey
|
|
3192
|
+
apiKey?: string;
|
|
3191
3193
|
name?: string;
|
|
3192
3194
|
headers?: Record<string, string>;
|
|
3193
3195
|
configuration?: Record<string, string>;
|
|
@@ -5551,8 +5553,7 @@ declare class LlmProviderKey {
|
|
|
5551
5553
|
*
|
|
5552
5554
|
* @example
|
|
5553
5555
|
* await client.llmProviderKey.storeLlmProviderApiKey({
|
|
5554
|
-
* provider: "openai"
|
|
5555
|
-
* apiKey: "api_key"
|
|
5556
|
+
* provider: "openai"
|
|
5556
5557
|
* })
|
|
5557
5558
|
*/
|
|
5558
5559
|
storeLlmProviderApiKey(request: ProviderApiKeyWrite, requestOptions?: LlmProviderKey.RequestOptions): HttpResponsePromise<void>;
|
|
@@ -5582,11 +5583,9 @@ declare class LlmProviderKey {
|
|
|
5582
5583
|
* @throws {@link OpikApi.NotFoundError}
|
|
5583
5584
|
*
|
|
5584
5585
|
* @example
|
|
5585
|
-
* await client.llmProviderKey.updateLlmProviderApiKey("id"
|
|
5586
|
-
* apiKey: "api_key"
|
|
5587
|
-
* })
|
|
5586
|
+
* await client.llmProviderKey.updateLlmProviderApiKey("id")
|
|
5588
5587
|
*/
|
|
5589
|
-
updateLlmProviderApiKey(id: string, request
|
|
5588
|
+
updateLlmProviderApiKey(id: string, request?: ProviderApiKeyUpdate, requestOptions?: LlmProviderKey.RequestOptions): HttpResponsePromise<void>;
|
|
5590
5589
|
private __updateLlmProviderApiKey;
|
|
5591
5590
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
5592
5591
|
Authorization: string | undefined;
|
|
@@ -460,13 +460,14 @@ interface FindFeedbackDefinitionsRequest {
|
|
|
460
460
|
/**
|
|
461
461
|
* This file was auto-generated by Fern from our API Definition.
|
|
462
462
|
*/
|
|
463
|
-
type ProviderApiKeyWriteProvider = "openai" | "anthropic" | "gemini" | "openrouter" | "vertex-ai";
|
|
463
|
+
type ProviderApiKeyWriteProvider = "openai" | "anthropic" | "gemini" | "openrouter" | "vertex-ai" | "custom-llm";
|
|
464
464
|
declare const ProviderApiKeyWriteProvider: {
|
|
465
465
|
readonly Openai: "openai";
|
|
466
466
|
readonly Anthropic: "anthropic";
|
|
467
467
|
readonly Gemini: "gemini";
|
|
468
468
|
readonly Openrouter: "openrouter";
|
|
469
469
|
readonly VertexAi: "vertex-ai";
|
|
470
|
+
readonly CustomLlm: "custom-llm";
|
|
470
471
|
};
|
|
471
472
|
|
|
472
473
|
/**
|
|
@@ -476,13 +477,12 @@ declare const ProviderApiKeyWriteProvider: {
|
|
|
476
477
|
/**
|
|
477
478
|
* @example
|
|
478
479
|
* {
|
|
479
|
-
* provider: "openai"
|
|
480
|
-
* apiKey: "api_key"
|
|
480
|
+
* provider: "openai"
|
|
481
481
|
* }
|
|
482
482
|
*/
|
|
483
483
|
interface ProviderApiKeyWrite {
|
|
484
484
|
provider: ProviderApiKeyWriteProvider;
|
|
485
|
-
apiKey
|
|
485
|
+
apiKey?: string;
|
|
486
486
|
name?: string;
|
|
487
487
|
headers?: Record<string, string>;
|
|
488
488
|
configuration?: Record<string, string>;
|
|
@@ -494,13 +494,14 @@ interface ProviderApiKeyWrite {
|
|
|
494
494
|
*/
|
|
495
495
|
/**
|
|
496
496
|
* @example
|
|
497
|
-
* {
|
|
498
|
-
* apiKey: "api_key"
|
|
499
|
-
* }
|
|
497
|
+
* {}
|
|
500
498
|
*/
|
|
501
499
|
interface ProviderApiKeyUpdate {
|
|
502
|
-
apiKey
|
|
500
|
+
apiKey?: string;
|
|
503
501
|
name?: string;
|
|
502
|
+
headers?: Record<string, string>;
|
|
503
|
+
configuration?: Record<string, string>;
|
|
504
|
+
baseUrl?: string;
|
|
504
505
|
}
|
|
505
506
|
|
|
506
507
|
/**
|
|
@@ -3171,13 +3172,14 @@ interface ProviderApiKeyPagePublic {
|
|
|
3171
3172
|
/**
|
|
3172
3173
|
* This file was auto-generated by Fern from our API Definition.
|
|
3173
3174
|
*/
|
|
3174
|
-
type ProviderApiKeyPublicProvider = "openai" | "anthropic" | "gemini" | "openrouter" | "vertex-ai";
|
|
3175
|
+
type ProviderApiKeyPublicProvider = "openai" | "anthropic" | "gemini" | "openrouter" | "vertex-ai" | "custom-llm";
|
|
3175
3176
|
declare const ProviderApiKeyPublicProvider: {
|
|
3176
3177
|
readonly Openai: "openai";
|
|
3177
3178
|
readonly Anthropic: "anthropic";
|
|
3178
3179
|
readonly Gemini: "gemini";
|
|
3179
3180
|
readonly Openrouter: "openrouter";
|
|
3180
3181
|
readonly VertexAi: "vertex-ai";
|
|
3182
|
+
readonly CustomLlm: "custom-llm";
|
|
3181
3183
|
};
|
|
3182
3184
|
|
|
3183
3185
|
/**
|
|
@@ -3187,7 +3189,7 @@ declare const ProviderApiKeyPublicProvider: {
|
|
|
3187
3189
|
interface ProviderApiKeyPublic {
|
|
3188
3190
|
id?: string;
|
|
3189
3191
|
provider: ProviderApiKeyPublicProvider;
|
|
3190
|
-
apiKey
|
|
3192
|
+
apiKey?: string;
|
|
3191
3193
|
name?: string;
|
|
3192
3194
|
headers?: Record<string, string>;
|
|
3193
3195
|
configuration?: Record<string, string>;
|
|
@@ -5551,8 +5553,7 @@ declare class LlmProviderKey {
|
|
|
5551
5553
|
*
|
|
5552
5554
|
* @example
|
|
5553
5555
|
* await client.llmProviderKey.storeLlmProviderApiKey({
|
|
5554
|
-
* provider: "openai"
|
|
5555
|
-
* apiKey: "api_key"
|
|
5556
|
+
* provider: "openai"
|
|
5556
5557
|
* })
|
|
5557
5558
|
*/
|
|
5558
5559
|
storeLlmProviderApiKey(request: ProviderApiKeyWrite, requestOptions?: LlmProviderKey.RequestOptions): HttpResponsePromise<void>;
|
|
@@ -5582,11 +5583,9 @@ declare class LlmProviderKey {
|
|
|
5582
5583
|
* @throws {@link OpikApi.NotFoundError}
|
|
5583
5584
|
*
|
|
5584
5585
|
* @example
|
|
5585
|
-
* await client.llmProviderKey.updateLlmProviderApiKey("id"
|
|
5586
|
-
* apiKey: "api_key"
|
|
5587
|
-
* })
|
|
5586
|
+
* await client.llmProviderKey.updateLlmProviderApiKey("id")
|
|
5588
5587
|
*/
|
|
5589
|
-
updateLlmProviderApiKey(id: string, request
|
|
5588
|
+
updateLlmProviderApiKey(id: string, request?: ProviderApiKeyUpdate, requestOptions?: LlmProviderKey.RequestOptions): HttpResponsePromise<void>;
|
|
5590
5589
|
private __updateLlmProviderApiKey;
|
|
5591
5590
|
protected _getCustomAuthorizationHeaders(): Promise<{
|
|
5592
5591
|
Authorization: string | undefined;
|