opik 1.9.76 → 1.9.77
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/index.cjs +22 -22
- package/dist/index.d.cts +8 -10
- package/dist/index.d.ts +8 -10
- package/dist/index.js +20 -20
- package/package.json +6 -6
package/dist/index.d.cts
CHANGED
|
@@ -783,13 +783,14 @@ interface FindFeedbackDefinitionsRequest {
|
|
|
783
783
|
/**
|
|
784
784
|
* This file was auto-generated by Fern from our API Definition.
|
|
785
785
|
*/
|
|
786
|
-
type ProviderApiKeyWriteProvider = "openai" | "anthropic" | "gemini" | "openrouter" | "vertex-ai" | "custom-llm" | "opik-free";
|
|
786
|
+
type ProviderApiKeyWriteProvider = "openai" | "anthropic" | "gemini" | "openrouter" | "vertex-ai" | "bedrock" | "custom-llm" | "opik-free";
|
|
787
787
|
declare const ProviderApiKeyWriteProvider: {
|
|
788
788
|
readonly Openai: "openai";
|
|
789
789
|
readonly Anthropic: "anthropic";
|
|
790
790
|
readonly Gemini: "gemini";
|
|
791
791
|
readonly Openrouter: "openrouter";
|
|
792
792
|
readonly VertexAi: "vertex-ai";
|
|
793
|
+
readonly Bedrock: "bedrock";
|
|
793
794
|
readonly CustomLlm: "custom-llm";
|
|
794
795
|
readonly OpikFree: "opik-free";
|
|
795
796
|
};
|
|
@@ -808,7 +809,7 @@ interface ProviderApiKeyWrite {
|
|
|
808
809
|
provider: ProviderApiKeyWriteProvider;
|
|
809
810
|
apiKey?: string;
|
|
810
811
|
name?: string;
|
|
811
|
-
/** Provider name - required for custom LLM providers to uniquely identify them (e.g., 'ollama', 'vllm'). Must not be blank for custom providers. Should not be set for standard providers (OpenAI, Anthropic, etc.). This requirement is conditional and validation is enforced programmatically. */
|
|
812
|
+
/** Provider name - required for custom LLM and Bedrock providers to uniquely identify them (e.g., 'ollama', 'vllm', 'Bedrock us-east-1'). Must not be blank for custom and Bedrock providers. Should not be set for standard providers (OpenAI, Anthropic, etc.). This requirement is conditional and validation is enforced programmatically. */
|
|
812
813
|
providerName?: string;
|
|
813
814
|
headers?: Record<string, string>;
|
|
814
815
|
configuration?: Record<string, string>;
|
|
@@ -825,7 +826,7 @@ interface ProviderApiKeyWrite {
|
|
|
825
826
|
interface ProviderApiKeyUpdate {
|
|
826
827
|
apiKey?: string;
|
|
827
828
|
name?: string;
|
|
828
|
-
/** Provider name - can be set to migrate legacy custom LLM providers to the new multi-provider format. Once set, it cannot be changed. Should only be set for custom LLM providers. */
|
|
829
|
+
/** Provider name - can be set to migrate legacy custom LLM or Bedrock providers to the new multi-provider format. Once set, it cannot be changed. Should only be set for custom LLM and Bedrock providers. */
|
|
829
830
|
providerName?: string;
|
|
830
831
|
headers?: Record<string, string>;
|
|
831
832
|
configuration?: Record<string, string>;
|
|
@@ -5216,13 +5217,14 @@ interface ProviderApiKeyPagePublic {
|
|
|
5216
5217
|
/**
|
|
5217
5218
|
* This file was auto-generated by Fern from our API Definition.
|
|
5218
5219
|
*/
|
|
5219
|
-
type ProviderApiKeyPublicProvider = "openai" | "anthropic" | "gemini" | "openrouter" | "vertex-ai" | "custom-llm" | "opik-free";
|
|
5220
|
+
type ProviderApiKeyPublicProvider = "openai" | "anthropic" | "gemini" | "openrouter" | "vertex-ai" | "bedrock" | "custom-llm" | "opik-free";
|
|
5220
5221
|
declare const ProviderApiKeyPublicProvider: {
|
|
5221
5222
|
readonly Openai: "openai";
|
|
5222
5223
|
readonly Anthropic: "anthropic";
|
|
5223
5224
|
readonly Gemini: "gemini";
|
|
5224
5225
|
readonly Openrouter: "openrouter";
|
|
5225
5226
|
readonly VertexAi: "vertex-ai";
|
|
5227
|
+
readonly Bedrock: "bedrock";
|
|
5226
5228
|
readonly CustomLlm: "custom-llm";
|
|
5227
5229
|
readonly OpikFree: "opik-free";
|
|
5228
5230
|
};
|
|
@@ -5236,7 +5238,7 @@ interface ProviderApiKeyPublic {
|
|
|
5236
5238
|
provider: ProviderApiKeyPublicProvider;
|
|
5237
5239
|
apiKey?: string;
|
|
5238
5240
|
name?: string;
|
|
5239
|
-
/** Provider name - required for custom LLM providers to uniquely identify them (e.g., 'ollama', 'vllm'). Must not be blank for custom providers. Should not be set for standard providers (OpenAI, Anthropic, etc.). This requirement is conditional and validation is enforced programmatically. */
|
|
5241
|
+
/** Provider name - required for custom LLM and Bedrock providers to uniquely identify them (e.g., 'ollama', 'vllm', 'Bedrock us-east-1'). Must not be blank for custom and Bedrock providers. Should not be set for standard providers (OpenAI, Anthropic, etc.). This requirement is conditional and validation is enforced programmatically. */
|
|
5240
5242
|
providerName?: string;
|
|
5241
5243
|
headers?: Record<string, string>;
|
|
5242
5244
|
configuration?: Record<string, string>;
|
|
@@ -5897,13 +5899,13 @@ interface ServiceTogglesConfig {
|
|
|
5897
5899
|
csvUploadEnabled: boolean;
|
|
5898
5900
|
exportEnabled: boolean;
|
|
5899
5901
|
optimizationStudioEnabled: boolean;
|
|
5900
|
-
dashboardsEnabled: boolean;
|
|
5901
5902
|
datasetVersioningEnabled: boolean;
|
|
5902
5903
|
openaiProviderEnabled: boolean;
|
|
5903
5904
|
anthropicProviderEnabled: boolean;
|
|
5904
5905
|
geminiProviderEnabled: boolean;
|
|
5905
5906
|
openrouterProviderEnabled: boolean;
|
|
5906
5907
|
vertexaiProviderEnabled: boolean;
|
|
5908
|
+
bedrockProviderEnabled: boolean;
|
|
5907
5909
|
customllmProviderEnabled: boolean;
|
|
5908
5910
|
collaboratorsTabEnabled: boolean;
|
|
5909
5911
|
}
|
|
@@ -11691,10 +11693,6 @@ declare class VercelAIChatModel extends OpikBaseModel {
|
|
|
11691
11693
|
* Private tracked wrapper for generateText SDK method.
|
|
11692
11694
|
*/
|
|
11693
11695
|
private _generateText;
|
|
11694
|
-
/**
|
|
11695
|
-
* Private tracked wrapper for generateObject SDK method.
|
|
11696
|
-
*/
|
|
11697
|
-
private _generateObject;
|
|
11698
11696
|
/**
|
|
11699
11697
|
* Creates a new VercelAIChatModel instance with a LanguageModel.
|
|
11700
11698
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -783,13 +783,14 @@ interface FindFeedbackDefinitionsRequest {
|
|
|
783
783
|
/**
|
|
784
784
|
* This file was auto-generated by Fern from our API Definition.
|
|
785
785
|
*/
|
|
786
|
-
type ProviderApiKeyWriteProvider = "openai" | "anthropic" | "gemini" | "openrouter" | "vertex-ai" | "custom-llm" | "opik-free";
|
|
786
|
+
type ProviderApiKeyWriteProvider = "openai" | "anthropic" | "gemini" | "openrouter" | "vertex-ai" | "bedrock" | "custom-llm" | "opik-free";
|
|
787
787
|
declare const ProviderApiKeyWriteProvider: {
|
|
788
788
|
readonly Openai: "openai";
|
|
789
789
|
readonly Anthropic: "anthropic";
|
|
790
790
|
readonly Gemini: "gemini";
|
|
791
791
|
readonly Openrouter: "openrouter";
|
|
792
792
|
readonly VertexAi: "vertex-ai";
|
|
793
|
+
readonly Bedrock: "bedrock";
|
|
793
794
|
readonly CustomLlm: "custom-llm";
|
|
794
795
|
readonly OpikFree: "opik-free";
|
|
795
796
|
};
|
|
@@ -808,7 +809,7 @@ interface ProviderApiKeyWrite {
|
|
|
808
809
|
provider: ProviderApiKeyWriteProvider;
|
|
809
810
|
apiKey?: string;
|
|
810
811
|
name?: string;
|
|
811
|
-
/** Provider name - required for custom LLM providers to uniquely identify them (e.g., 'ollama', 'vllm'). Must not be blank for custom providers. Should not be set for standard providers (OpenAI, Anthropic, etc.). This requirement is conditional and validation is enforced programmatically. */
|
|
812
|
+
/** Provider name - required for custom LLM and Bedrock providers to uniquely identify them (e.g., 'ollama', 'vllm', 'Bedrock us-east-1'). Must not be blank for custom and Bedrock providers. Should not be set for standard providers (OpenAI, Anthropic, etc.). This requirement is conditional and validation is enforced programmatically. */
|
|
812
813
|
providerName?: string;
|
|
813
814
|
headers?: Record<string, string>;
|
|
814
815
|
configuration?: Record<string, string>;
|
|
@@ -825,7 +826,7 @@ interface ProviderApiKeyWrite {
|
|
|
825
826
|
interface ProviderApiKeyUpdate {
|
|
826
827
|
apiKey?: string;
|
|
827
828
|
name?: string;
|
|
828
|
-
/** Provider name - can be set to migrate legacy custom LLM providers to the new multi-provider format. Once set, it cannot be changed. Should only be set for custom LLM providers. */
|
|
829
|
+
/** Provider name - can be set to migrate legacy custom LLM or Bedrock providers to the new multi-provider format. Once set, it cannot be changed. Should only be set for custom LLM and Bedrock providers. */
|
|
829
830
|
providerName?: string;
|
|
830
831
|
headers?: Record<string, string>;
|
|
831
832
|
configuration?: Record<string, string>;
|
|
@@ -5216,13 +5217,14 @@ interface ProviderApiKeyPagePublic {
|
|
|
5216
5217
|
/**
|
|
5217
5218
|
* This file was auto-generated by Fern from our API Definition.
|
|
5218
5219
|
*/
|
|
5219
|
-
type ProviderApiKeyPublicProvider = "openai" | "anthropic" | "gemini" | "openrouter" | "vertex-ai" | "custom-llm" | "opik-free";
|
|
5220
|
+
type ProviderApiKeyPublicProvider = "openai" | "anthropic" | "gemini" | "openrouter" | "vertex-ai" | "bedrock" | "custom-llm" | "opik-free";
|
|
5220
5221
|
declare const ProviderApiKeyPublicProvider: {
|
|
5221
5222
|
readonly Openai: "openai";
|
|
5222
5223
|
readonly Anthropic: "anthropic";
|
|
5223
5224
|
readonly Gemini: "gemini";
|
|
5224
5225
|
readonly Openrouter: "openrouter";
|
|
5225
5226
|
readonly VertexAi: "vertex-ai";
|
|
5227
|
+
readonly Bedrock: "bedrock";
|
|
5226
5228
|
readonly CustomLlm: "custom-llm";
|
|
5227
5229
|
readonly OpikFree: "opik-free";
|
|
5228
5230
|
};
|
|
@@ -5236,7 +5238,7 @@ interface ProviderApiKeyPublic {
|
|
|
5236
5238
|
provider: ProviderApiKeyPublicProvider;
|
|
5237
5239
|
apiKey?: string;
|
|
5238
5240
|
name?: string;
|
|
5239
|
-
/** Provider name - required for custom LLM providers to uniquely identify them (e.g., 'ollama', 'vllm'). Must not be blank for custom providers. Should not be set for standard providers (OpenAI, Anthropic, etc.). This requirement is conditional and validation is enforced programmatically. */
|
|
5241
|
+
/** Provider name - required for custom LLM and Bedrock providers to uniquely identify them (e.g., 'ollama', 'vllm', 'Bedrock us-east-1'). Must not be blank for custom and Bedrock providers. Should not be set for standard providers (OpenAI, Anthropic, etc.). This requirement is conditional and validation is enforced programmatically. */
|
|
5240
5242
|
providerName?: string;
|
|
5241
5243
|
headers?: Record<string, string>;
|
|
5242
5244
|
configuration?: Record<string, string>;
|
|
@@ -5897,13 +5899,13 @@ interface ServiceTogglesConfig {
|
|
|
5897
5899
|
csvUploadEnabled: boolean;
|
|
5898
5900
|
exportEnabled: boolean;
|
|
5899
5901
|
optimizationStudioEnabled: boolean;
|
|
5900
|
-
dashboardsEnabled: boolean;
|
|
5901
5902
|
datasetVersioningEnabled: boolean;
|
|
5902
5903
|
openaiProviderEnabled: boolean;
|
|
5903
5904
|
anthropicProviderEnabled: boolean;
|
|
5904
5905
|
geminiProviderEnabled: boolean;
|
|
5905
5906
|
openrouterProviderEnabled: boolean;
|
|
5906
5907
|
vertexaiProviderEnabled: boolean;
|
|
5908
|
+
bedrockProviderEnabled: boolean;
|
|
5907
5909
|
customllmProviderEnabled: boolean;
|
|
5908
5910
|
collaboratorsTabEnabled: boolean;
|
|
5909
5911
|
}
|
|
@@ -11691,10 +11693,6 @@ declare class VercelAIChatModel extends OpikBaseModel {
|
|
|
11691
11693
|
* Private tracked wrapper for generateText SDK method.
|
|
11692
11694
|
*/
|
|
11693
11695
|
private _generateText;
|
|
11694
|
-
/**
|
|
11695
|
-
* Private tracked wrapper for generateObject SDK method.
|
|
11696
|
-
*/
|
|
11697
|
-
private _generateObject;
|
|
11698
11696
|
/**
|
|
11699
11697
|
* Creates a new VercelAIChatModel instance with a LanguageModel.
|
|
11700
11698
|
*
|