@langfuse/core 4.6.1 → 5.0.0-beta.1
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 +46 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +146 -34
- package/dist/index.d.ts +146 -34
- package/dist/index.mjs +42 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -756,6 +756,85 @@ interface ObservationsView extends Observation {
|
|
|
756
756
|
timeToFirstToken: number | null;
|
|
757
757
|
}
|
|
758
758
|
|
|
759
|
+
/**
|
|
760
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
761
|
+
*/
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* An observation from the v2 API with field-group-based selection.
|
|
765
|
+
* Core fields are always present. Other fields are included only when their field group is requested.
|
|
766
|
+
*/
|
|
767
|
+
interface ObservationV2 {
|
|
768
|
+
/** The unique identifier of the observation */
|
|
769
|
+
id: string;
|
|
770
|
+
/** The trace ID associated with the observation */
|
|
771
|
+
traceId: string | null;
|
|
772
|
+
/** The start time of the observation */
|
|
773
|
+
startTime: string;
|
|
774
|
+
/** The end time of the observation */
|
|
775
|
+
endTime: string | null;
|
|
776
|
+
/** The project ID this observation belongs to */
|
|
777
|
+
projectId: string;
|
|
778
|
+
/** The parent observation ID */
|
|
779
|
+
parentObservationId: string | null;
|
|
780
|
+
/** The type of the observation (e.g. GENERATION, SPAN, EVENT) */
|
|
781
|
+
type: string;
|
|
782
|
+
/** The name of the observation */
|
|
783
|
+
name?: string | null;
|
|
784
|
+
/** The level of the observation */
|
|
785
|
+
level?: ObservationLevel;
|
|
786
|
+
/** The status message of the observation */
|
|
787
|
+
statusMessage?: string | null;
|
|
788
|
+
/** The version of the observation */
|
|
789
|
+
version?: string | null;
|
|
790
|
+
/** The environment from which this observation originated */
|
|
791
|
+
environment?: string | null;
|
|
792
|
+
/** Whether the observation is bookmarked */
|
|
793
|
+
bookmarked?: boolean;
|
|
794
|
+
/** Whether the observation is public */
|
|
795
|
+
public?: boolean;
|
|
796
|
+
/** The user ID associated with the observation */
|
|
797
|
+
userId?: string | null;
|
|
798
|
+
/** The session ID associated with the observation */
|
|
799
|
+
sessionId?: string | null;
|
|
800
|
+
/** The completion start time of the observation */
|
|
801
|
+
completionStartTime?: string | null;
|
|
802
|
+
/** The creation timestamp of the observation */
|
|
803
|
+
createdAt?: string;
|
|
804
|
+
/** The last update timestamp of the observation */
|
|
805
|
+
updatedAt?: string;
|
|
806
|
+
/** The input data of the observation */
|
|
807
|
+
input?: unknown;
|
|
808
|
+
/** The output data of the observation */
|
|
809
|
+
output?: unknown;
|
|
810
|
+
/** Additional metadata of the observation */
|
|
811
|
+
metadata?: unknown;
|
|
812
|
+
/** The model name as provided by the user */
|
|
813
|
+
providedModelName?: string | null;
|
|
814
|
+
/** The internal model ID matched by Langfuse */
|
|
815
|
+
internalModelId?: string | null;
|
|
816
|
+
/** The parameters of the model used for the observation */
|
|
817
|
+
modelParameters?: unknown;
|
|
818
|
+
/** The usage details of the observation. Key is the usage metric name, value is the number of units consumed. */
|
|
819
|
+
usageDetails?: Record<string, number>;
|
|
820
|
+
/** The cost details of the observation. Key is the cost metric name, value is the cost in USD. */
|
|
821
|
+
costDetails?: Record<string, number>;
|
|
822
|
+
/** The total cost of the observation in USD */
|
|
823
|
+
totalCost?: number | null;
|
|
824
|
+
/** The prompt ID associated with the observation */
|
|
825
|
+
promptId?: string | null;
|
|
826
|
+
/** The prompt name associated with the observation */
|
|
827
|
+
promptName?: string | null;
|
|
828
|
+
/** The prompt version associated with the observation */
|
|
829
|
+
promptVersion?: number | null;
|
|
830
|
+
/** The latency in seconds */
|
|
831
|
+
latency?: number | null;
|
|
832
|
+
/** The time to first token in seconds */
|
|
833
|
+
timeToFirstToken?: number | null;
|
|
834
|
+
/** The matched model ID */
|
|
835
|
+
modelId?: string | null;
|
|
836
|
+
}
|
|
837
|
+
|
|
759
838
|
/**
|
|
760
839
|
* This file was auto-generated by Fern from our API Definition.
|
|
761
840
|
*/
|
|
@@ -1407,7 +1486,7 @@ declare const ObservationLevel: {
|
|
|
1407
1486
|
/**
|
|
1408
1487
|
* This file was auto-generated by Fern from our API Definition.
|
|
1409
1488
|
*/
|
|
1410
|
-
type MapValue = string | undefined | number | undefined | boolean | undefined | string[] | undefined;
|
|
1489
|
+
type MapValue = string | undefined | number | undefined | number | undefined | boolean | undefined | string[] | undefined;
|
|
1411
1490
|
|
|
1412
1491
|
/**
|
|
1413
1492
|
* This file was auto-generated by Fern from our API Definition.
|
|
@@ -1631,6 +1710,7 @@ type index$p_NumericScore = NumericScore;
|
|
|
1631
1710
|
type index$p_NumericScoreV1 = NumericScoreV1;
|
|
1632
1711
|
type index$p_Observation = Observation;
|
|
1633
1712
|
declare const index$p_ObservationLevel: typeof ObservationLevel;
|
|
1713
|
+
type index$p_ObservationV2 = ObservationV2;
|
|
1634
1714
|
type index$p_ObservationsView = ObservationsView;
|
|
1635
1715
|
type index$p_PricingTier = PricingTier;
|
|
1636
1716
|
type index$p_PricingTierCondition = PricingTierCondition;
|
|
@@ -1649,7 +1729,7 @@ type index$p_UnauthorizedError = UnauthorizedError;
|
|
|
1649
1729
|
declare const index$p_UnauthorizedError: typeof UnauthorizedError;
|
|
1650
1730
|
type index$p_Usage = Usage;
|
|
1651
1731
|
declare namespace index$p {
|
|
1652
|
-
export { index$p_AccessDeniedError as AccessDeniedError, type index$p_BaseScore as BaseScore, type index$p_BaseScoreV1 as BaseScoreV1, type index$p_BooleanScore as BooleanScore, type index$p_BooleanScoreV1 as BooleanScoreV1, type index$p_CategoricalScore as CategoricalScore, type index$p_CategoricalScoreV1 as CategoricalScoreV1, type index$p_Comment as Comment, index$p_CommentObjectType as CommentObjectType, type index$p_ConfigCategory as ConfigCategory, type index$p_CorrectionScore as CorrectionScore, type index$p_CreateScoreValue as CreateScoreValue, type index$p_Dataset as Dataset, type index$p_DatasetItem as DatasetItem, type index$p_DatasetRun as DatasetRun, type index$p_DatasetRunItem as DatasetRunItem, type index$p_DatasetRunWithItems as DatasetRunWithItems, index$p_DatasetStatus as DatasetStatus, Error$1 as Error, type index$p_MapValue as MapValue, index$p_MethodNotAllowedError as MethodNotAllowedError, type index$p_Model as Model, type index$p_ModelPrice as ModelPrice, index$p_ModelUsageUnit as ModelUsageUnit, index$p_NotFoundError as NotFoundError, type index$p_NumericScore as NumericScore, type index$p_NumericScoreV1 as NumericScoreV1, type index$p_Observation as Observation, index$p_ObservationLevel as ObservationLevel, type index$p_ObservationsView as ObservationsView, type index$p_PricingTier as PricingTier, type index$p_PricingTierCondition as PricingTierCondition, type index$p_PricingTierInput as PricingTierInput, index$p_PricingTierOperator as PricingTierOperator, Score$1 as Score, type index$p_ScoreConfig as ScoreConfig, index$p_ScoreConfigDataType as ScoreConfigDataType, index$p_ScoreDataType as ScoreDataType, index$p_ScoreSource as ScoreSource, index$p_ScoreV1 as ScoreV1, type index$p_Session as Session, type index$p_SessionWithTraces as SessionWithTraces, type Trace$1 as Trace, type index$p_TraceWithDetails as TraceWithDetails, type index$p_TraceWithFullDetails as TraceWithFullDetails, index$p_UnauthorizedError as UnauthorizedError, type index$p_Usage as Usage };
|
|
1732
|
+
export { index$p_AccessDeniedError as AccessDeniedError, type index$p_BaseScore as BaseScore, type index$p_BaseScoreV1 as BaseScoreV1, type index$p_BooleanScore as BooleanScore, type index$p_BooleanScoreV1 as BooleanScoreV1, type index$p_CategoricalScore as CategoricalScore, type index$p_CategoricalScoreV1 as CategoricalScoreV1, type index$p_Comment as Comment, index$p_CommentObjectType as CommentObjectType, type index$p_ConfigCategory as ConfigCategory, type index$p_CorrectionScore as CorrectionScore, type index$p_CreateScoreValue as CreateScoreValue, type index$p_Dataset as Dataset, type index$p_DatasetItem as DatasetItem, type index$p_DatasetRun as DatasetRun, type index$p_DatasetRunItem as DatasetRunItem, type index$p_DatasetRunWithItems as DatasetRunWithItems, index$p_DatasetStatus as DatasetStatus, Error$1 as Error, type index$p_MapValue as MapValue, index$p_MethodNotAllowedError as MethodNotAllowedError, type index$p_Model as Model, type index$p_ModelPrice as ModelPrice, index$p_ModelUsageUnit as ModelUsageUnit, index$p_NotFoundError as NotFoundError, type index$p_NumericScore as NumericScore, type index$p_NumericScoreV1 as NumericScoreV1, type index$p_Observation as Observation, index$p_ObservationLevel as ObservationLevel, type index$p_ObservationV2 as ObservationV2, type index$p_ObservationsView as ObservationsView, type index$p_PricingTier as PricingTier, type index$p_PricingTierCondition as PricingTierCondition, type index$p_PricingTierInput as PricingTierInput, index$p_PricingTierOperator as PricingTierOperator, Score$1 as Score, type index$p_ScoreConfig as ScoreConfig, index$p_ScoreConfigDataType as ScoreConfigDataType, index$p_ScoreDataType as ScoreDataType, index$p_ScoreSource as ScoreSource, index$p_ScoreV1 as ScoreV1, type index$p_Session as Session, type index$p_SessionWithTraces as SessionWithTraces, type Trace$1 as Trace, type index$p_TraceWithDetails as TraceWithDetails, type index$p_TraceWithFullDetails as TraceWithFullDetails, index$p_UnauthorizedError as UnauthorizedError, type index$p_Usage as Usage };
|
|
1653
1733
|
}
|
|
1654
1734
|
|
|
1655
1735
|
/**
|
|
@@ -2944,7 +3024,7 @@ declare namespace index$f {
|
|
|
2944
3024
|
*/
|
|
2945
3025
|
interface ObservationsV2Response {
|
|
2946
3026
|
/** Array of observation objects. Fields included depend on the `fields` parameter in the request. */
|
|
2947
|
-
data:
|
|
3027
|
+
data: ObservationV2[];
|
|
2948
3028
|
meta: ObservationsV2Meta;
|
|
2949
3029
|
}
|
|
2950
3030
|
|
|
@@ -2987,8 +3067,9 @@ interface GetObservationsV2Request {
|
|
|
2987
3067
|
/** Base64-encoded cursor for pagination. Use the cursor from the previous response to get the next page. */
|
|
2988
3068
|
cursor?: string;
|
|
2989
3069
|
/**
|
|
2990
|
-
*
|
|
2991
|
-
*
|
|
3070
|
+
* **Deprecated.** Setting this to `true` will return a 400 error.
|
|
3071
|
+
* Input/output fields are always returned as raw strings.
|
|
3072
|
+
* Remove this parameter or set it to `false`.
|
|
2992
3073
|
*/
|
|
2993
3074
|
parseIoAsJson?: boolean;
|
|
2994
3075
|
name?: string;
|
|
@@ -3757,15 +3838,7 @@ interface PromptMeta {
|
|
|
3757
3838
|
* This file was auto-generated by Fern from our API Definition.
|
|
3758
3839
|
*/
|
|
3759
3840
|
|
|
3760
|
-
type CreatePromptRequest =
|
|
3761
|
-
declare namespace CreatePromptRequest {
|
|
3762
|
-
interface Chat extends CreateChatPromptRequest {
|
|
3763
|
-
type: "chat";
|
|
3764
|
-
}
|
|
3765
|
-
interface Text extends CreateTextPromptRequest {
|
|
3766
|
-
type: "text";
|
|
3767
|
-
}
|
|
3768
|
-
}
|
|
3841
|
+
type CreatePromptRequest = CreateChatPromptRequest | CreateTextPromptRequest;
|
|
3769
3842
|
|
|
3770
3843
|
/**
|
|
3771
3844
|
* This file was auto-generated by Fern from our API Definition.
|
|
@@ -3775,6 +3848,7 @@ interface CreateChatPromptRequest {
|
|
|
3775
3848
|
name: string;
|
|
3776
3849
|
prompt: ChatMessageWithPlaceholders[];
|
|
3777
3850
|
config?: unknown;
|
|
3851
|
+
type: CreateChatPromptType;
|
|
3778
3852
|
/** List of deployment labels of this prompt version. */
|
|
3779
3853
|
labels?: string[];
|
|
3780
3854
|
/** List of tags to apply to all versions of this prompt. */
|
|
@@ -3786,10 +3860,12 @@ interface CreateChatPromptRequest {
|
|
|
3786
3860
|
/**
|
|
3787
3861
|
* This file was auto-generated by Fern from our API Definition.
|
|
3788
3862
|
*/
|
|
3863
|
+
|
|
3789
3864
|
interface CreateTextPromptRequest {
|
|
3790
3865
|
name: string;
|
|
3791
3866
|
prompt: string;
|
|
3792
3867
|
config?: unknown;
|
|
3868
|
+
type?: CreateTextPromptType;
|
|
3793
3869
|
/** List of deployment labels of this prompt version. */
|
|
3794
3870
|
labels?: string[];
|
|
3795
3871
|
/** List of tags to apply to all versions of this prompt. */
|
|
@@ -3842,31 +3918,43 @@ interface BasePrompt {
|
|
|
3842
3918
|
* This file was auto-generated by Fern from our API Definition.
|
|
3843
3919
|
*/
|
|
3844
3920
|
|
|
3845
|
-
type ChatMessageWithPlaceholders =
|
|
3846
|
-
declare namespace ChatMessageWithPlaceholders {
|
|
3847
|
-
interface Chatmessage extends ChatMessage {
|
|
3848
|
-
type: "chatmessage";
|
|
3849
|
-
}
|
|
3850
|
-
interface Placeholder extends PlaceholderMessage {
|
|
3851
|
-
type: "placeholder";
|
|
3852
|
-
}
|
|
3853
|
-
}
|
|
3921
|
+
type ChatMessageWithPlaceholders = ChatMessage | PlaceholderMessage;
|
|
3854
3922
|
|
|
3855
3923
|
/**
|
|
3856
3924
|
* This file was auto-generated by Fern from our API Definition.
|
|
3857
3925
|
*/
|
|
3926
|
+
|
|
3858
3927
|
interface ChatMessage {
|
|
3859
3928
|
role: string;
|
|
3860
3929
|
content: string;
|
|
3930
|
+
type?: ChatMessageType;
|
|
3861
3931
|
}
|
|
3862
3932
|
|
|
3863
3933
|
/**
|
|
3864
3934
|
* This file was auto-generated by Fern from our API Definition.
|
|
3865
3935
|
*/
|
|
3936
|
+
type ChatMessageType = "chatmessage";
|
|
3937
|
+
declare const ChatMessageType: {
|
|
3938
|
+
readonly Chatmessage: "chatmessage";
|
|
3939
|
+
};
|
|
3940
|
+
|
|
3941
|
+
/**
|
|
3942
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3943
|
+
*/
|
|
3944
|
+
|
|
3866
3945
|
interface PlaceholderMessage {
|
|
3867
3946
|
name: string;
|
|
3947
|
+
type?: PlaceholderMessageType;
|
|
3868
3948
|
}
|
|
3869
3949
|
|
|
3950
|
+
/**
|
|
3951
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3952
|
+
*/
|
|
3953
|
+
type PlaceholderMessageType = "placeholder";
|
|
3954
|
+
declare const PlaceholderMessageType: {
|
|
3955
|
+
readonly Placeholder: "placeholder";
|
|
3956
|
+
};
|
|
3957
|
+
|
|
3870
3958
|
/**
|
|
3871
3959
|
* This file was auto-generated by Fern from our API Definition.
|
|
3872
3960
|
*/
|
|
@@ -3883,6 +3971,22 @@ interface ChatPrompt extends BasePrompt {
|
|
|
3883
3971
|
prompt: ChatMessageWithPlaceholders[];
|
|
3884
3972
|
}
|
|
3885
3973
|
|
|
3974
|
+
/**
|
|
3975
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3976
|
+
*/
|
|
3977
|
+
type CreateChatPromptType = "chat";
|
|
3978
|
+
declare const CreateChatPromptType: {
|
|
3979
|
+
readonly Chat: "chat";
|
|
3980
|
+
};
|
|
3981
|
+
|
|
3982
|
+
/**
|
|
3983
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3984
|
+
*/
|
|
3985
|
+
type CreateTextPromptType = "text";
|
|
3986
|
+
declare const CreateTextPromptType: {
|
|
3987
|
+
readonly Text: "text";
|
|
3988
|
+
};
|
|
3989
|
+
|
|
3886
3990
|
/**
|
|
3887
3991
|
* This file was auto-generated by Fern from our API Definition.
|
|
3888
3992
|
*/
|
|
@@ -3934,22 +4038,26 @@ interface DeletePromptRequest {
|
|
|
3934
4038
|
|
|
3935
4039
|
type index$9_BasePrompt = BasePrompt;
|
|
3936
4040
|
type index$9_ChatMessage = ChatMessage;
|
|
3937
|
-
declare const index$
|
|
4041
|
+
declare const index$9_ChatMessageType: typeof ChatMessageType;
|
|
4042
|
+
type index$9_ChatMessageWithPlaceholders = ChatMessageWithPlaceholders;
|
|
3938
4043
|
type index$9_ChatPrompt = ChatPrompt;
|
|
3939
4044
|
type index$9_CreateChatPromptRequest = CreateChatPromptRequest;
|
|
3940
|
-
declare const index$
|
|
4045
|
+
declare const index$9_CreateChatPromptType: typeof CreateChatPromptType;
|
|
4046
|
+
type index$9_CreatePromptRequest = CreatePromptRequest;
|
|
3941
4047
|
type index$9_CreateTextPromptRequest = CreateTextPromptRequest;
|
|
4048
|
+
declare const index$9_CreateTextPromptType: typeof CreateTextPromptType;
|
|
3942
4049
|
type index$9_DeletePromptRequest = DeletePromptRequest;
|
|
3943
4050
|
type index$9_GetPromptRequest = GetPromptRequest;
|
|
3944
4051
|
type index$9_ListPromptsMetaRequest = ListPromptsMetaRequest;
|
|
3945
4052
|
type index$9_PlaceholderMessage = PlaceholderMessage;
|
|
4053
|
+
declare const index$9_PlaceholderMessageType: typeof PlaceholderMessageType;
|
|
3946
4054
|
declare const index$9_Prompt: typeof Prompt;
|
|
3947
4055
|
type index$9_PromptMeta = PromptMeta;
|
|
3948
4056
|
type index$9_PromptMetaListResponse = PromptMetaListResponse;
|
|
3949
4057
|
declare const index$9_PromptType: typeof PromptType;
|
|
3950
4058
|
type index$9_TextPrompt = TextPrompt;
|
|
3951
4059
|
declare namespace index$9 {
|
|
3952
|
-
export { type index$9_BasePrompt as BasePrompt, type index$9_ChatMessage as ChatMessage, index$9_ChatMessageWithPlaceholders as ChatMessageWithPlaceholders, type index$9_ChatPrompt as ChatPrompt, type index$9_CreateChatPromptRequest as CreateChatPromptRequest, index$9_CreatePromptRequest as CreatePromptRequest, type index$9_CreateTextPromptRequest as CreateTextPromptRequest, type index$9_DeletePromptRequest as DeletePromptRequest, type index$9_GetPromptRequest as GetPromptRequest, type index$9_ListPromptsMetaRequest as ListPromptsMetaRequest, type index$9_PlaceholderMessage as PlaceholderMessage, index$9_Prompt as Prompt, type index$9_PromptMeta as PromptMeta, type index$9_PromptMetaListResponse as PromptMetaListResponse, index$9_PromptType as PromptType, type index$9_TextPrompt as TextPrompt };
|
|
4060
|
+
export { type index$9_BasePrompt as BasePrompt, type index$9_ChatMessage as ChatMessage, index$9_ChatMessageType as ChatMessageType, type index$9_ChatMessageWithPlaceholders as ChatMessageWithPlaceholders, type index$9_ChatPrompt as ChatPrompt, type index$9_CreateChatPromptRequest as CreateChatPromptRequest, index$9_CreateChatPromptType as CreateChatPromptType, type index$9_CreatePromptRequest as CreatePromptRequest, type index$9_CreateTextPromptRequest as CreateTextPromptRequest, index$9_CreateTextPromptType as CreateTextPromptType, type index$9_DeletePromptRequest as DeletePromptRequest, type index$9_GetPromptRequest as GetPromptRequest, type index$9_ListPromptsMetaRequest as ListPromptsMetaRequest, type index$9_PlaceholderMessage as PlaceholderMessage, index$9_PlaceholderMessageType as PlaceholderMessageType, index$9_Prompt as Prompt, type index$9_PromptMeta as PromptMeta, type index$9_PromptMetaListResponse as PromptMetaListResponse, index$9_PromptType as PromptType, type index$9_TextPrompt as TextPrompt };
|
|
3953
4061
|
}
|
|
3954
4062
|
|
|
3955
4063
|
/**
|
|
@@ -4270,6 +4378,8 @@ interface GetScoresResponseTraceData {
|
|
|
4270
4378
|
tags?: string[];
|
|
4271
4379
|
/** The environment of the trace referenced by score */
|
|
4272
4380
|
environment?: string;
|
|
4381
|
+
/** The session ID associated with the trace referenced by score */
|
|
4382
|
+
sessionId?: string;
|
|
4273
4383
|
}
|
|
4274
4384
|
|
|
4275
4385
|
/**
|
|
@@ -4380,8 +4490,10 @@ interface GetScoresRequest {
|
|
|
4380
4490
|
dataType?: ScoreDataType;
|
|
4381
4491
|
/** Only scores linked to traces that include all of these tags will be returned. */
|
|
4382
4492
|
traceTags?: string | string[];
|
|
4383
|
-
/** Comma-separated list of field groups to include in the response. Available field groups: 'score' (core score fields), 'trace' (trace properties: userId, tags, environment). If not specified, both 'score' and 'trace' are returned by default. Example: 'score' to exclude trace data, 'score,trace' to include both. Note: When filtering by trace properties (using userId or traceTags parameters), the 'trace' field group must be included, otherwise a 400 error will be returned. */
|
|
4493
|
+
/** Comma-separated list of field groups to include in the response. Available field groups: 'score' (core score fields), 'trace' (trace properties: userId, tags, environment, sessionId). If not specified, both 'score' and 'trace' are returned by default. Example: 'score' to exclude trace data, 'score,trace' to include both. Note: When filtering by trace properties (using userId or traceTags parameters), the 'trace' field group must be included, otherwise a 400 error will be returned. */
|
|
4384
4494
|
fields?: string;
|
|
4495
|
+
/** A JSON stringified array of filter objects. Each object requires type, column, operator, and value. Supports filtering by score metadata using the stringObject type. Example: [{"type":"stringObject","column":"metadata","key":"user_id","operator":"=","value":"abc123"}]. Supported types: stringObject (metadata key-value filtering), string, number, datetime, stringOptions, arrayOptions. Supported operators for stringObject: =, contains, does not contain, starts with, ends with. */
|
|
4496
|
+
filter?: string;
|
|
4385
4497
|
}
|
|
4386
4498
|
|
|
4387
4499
|
type index$6_GetScoresRequest = GetScoresRequest;
|
|
@@ -7128,18 +7240,18 @@ declare class Prompts {
|
|
|
7128
7240
|
*
|
|
7129
7241
|
* @example
|
|
7130
7242
|
* await client.prompts.create({
|
|
7131
|
-
* type: "chat",
|
|
7132
7243
|
* name: "name",
|
|
7133
7244
|
* prompt: [{
|
|
7134
|
-
* type: "chatmessage",
|
|
7135
7245
|
* role: "role",
|
|
7136
|
-
* content: "content"
|
|
7246
|
+
* content: "content",
|
|
7247
|
+
* type: undefined
|
|
7137
7248
|
* }, {
|
|
7138
|
-
* type: "chatmessage",
|
|
7139
7249
|
* role: "role",
|
|
7140
|
-
* content: "content"
|
|
7250
|
+
* content: "content",
|
|
7251
|
+
* type: undefined
|
|
7141
7252
|
* }],
|
|
7142
7253
|
* config: undefined,
|
|
7254
|
+
* type: "chat",
|
|
7143
7255
|
* labels: undefined,
|
|
7144
7256
|
* tags: undefined,
|
|
7145
7257
|
* commitMessage: undefined
|
|
@@ -7927,7 +8039,7 @@ declare class LangfuseAPIClient {
|
|
|
7927
8039
|
get trace(): Trace;
|
|
7928
8040
|
}
|
|
7929
8041
|
|
|
7930
|
-
type LangfuseEnvVar = "LANGFUSE_PUBLIC_KEY" | "LANGFUSE_SECRET_KEY" | "LANGFUSE_BASE_URL" | "LANGFUSE_BASEURL" | "LANGFUSE_TIMEOUT" | "LANGFUSE_FLUSH_AT" | "LANGFUSE_FLUSH_INTERVAL" | "LANGFUSE_LOG_LEVEL" | "LANGFUSE_RELEASE" | "LANGFUSE_TRACING_ENVIRONMENT";
|
|
8042
|
+
type LangfuseEnvVar = "LANGFUSE_PUBLIC_KEY" | "LANGFUSE_SECRET_KEY" | "LANGFUSE_BASE_URL" | "LANGFUSE_BASEURL" | "LANGFUSE_TIMEOUT" | "LANGFUSE_FLUSH_AT" | "LANGFUSE_FLUSH_INTERVAL" | "LANGFUSE_LOG_LEVEL" | "LANGFUSE_DEBUG" | "LANGFUSE_RELEASE" | "LANGFUSE_TRACING_ENVIRONMENT";
|
|
7931
8043
|
declare function getEnv(key: LangfuseEnvVar): string | undefined;
|
|
7932
8044
|
declare function generateUUID(globalThis?: any): string;
|
|
7933
8045
|
declare function safeSetTimeout(fn: () => void, timeout: number): any;
|
|
@@ -8294,4 +8406,4 @@ interface PropagateAttributesParams {
|
|
|
8294
8406
|
declare function propagateAttributes<A extends unknown[], F extends (...args: A) => ReturnType<F>>(params: PropagateAttributesParams, fn: F): ReturnType<F>;
|
|
8295
8407
|
declare function getPropagatedAttributesFromContext(context: Context): Record<string, string | string[]>;
|
|
8296
8408
|
|
|
8297
|
-
export { AccessDeniedError, type AnnotationQueue, type AnnotationQueueAssignmentRequest, type AnnotationQueueItem, AnnotationQueueObjectType, AnnotationQueueStatus, type ApiKeyDeletionResponse, type ApiKeyList, type ApiKeyResponse, type ApiKeySummary, type AuthenticationScheme, type BaseEvent, type BasePrompt, type BaseScore, type BaseScoreV1, BlobStorageExportFrequency, BlobStorageExportMode, type BlobStorageIntegrationDeletionResponse, BlobStorageIntegrationFileType, type BlobStorageIntegrationResponse, BlobStorageIntegrationType, type BlobStorageIntegrationsResponse, type BooleanScore, type BooleanScoreV1, type BulkConfig, type CategoricalScore, type CategoricalScoreV1, type ChatMessage, ChatMessageWithPlaceholders, type ChatPrompt, type Comment, CommentObjectType, type ConfigCategory, type CorrectionScore, type CreateAnnotationQueueAssignmentResponse, type CreateAnnotationQueueItemRequest, type CreateAnnotationQueueRequest, type CreateApiKeyRequest, type CreateBlobStorageIntegrationRequest, type CreateChatPromptRequest, type CreateCommentRequest, type CreateCommentResponse, type CreateDatasetItemRequest, type CreateDatasetRequest, type CreateDatasetRunItemRequest, type CreateEventBody, type CreateEventEvent, type CreateGenerationBody, type CreateGenerationEvent, type CreateModelRequest, type CreateObservationEvent, type CreateProjectRequest, CreatePromptRequest, type CreateScoreConfigRequest, type CreateScoreRequest, type CreateScoreResponse, type CreateScoreValue, type CreateSpanBody, type CreateSpanEvent, type CreateTextPromptRequest, type CreateUserRequest, type Dataset, type DatasetItem, type DatasetRun, type DatasetRunItem, type DatasetRunWithItems, DatasetStatus, type DeleteAnnotationQueueAssignmentResponse, type DeleteAnnotationQueueItemResponse, type DeleteDatasetItemResponse, type DeleteDatasetRunResponse, type DeleteMembershipRequest, type DeletePromptRequest, type DeleteTraceResponse, type DeleteTracesRequest, type EmptyResponse, Error$1 as Error, type FilterConfig, type GetAnnotationQueueItemsRequest, type GetAnnotationQueuesRequest, type GetCommentsRequest, type GetCommentsResponse, type GetDatasetItemsRequest, type GetDatasetRunsRequest, type GetDatasetsRequest, type GetLlmConnectionsRequest, type GetMediaResponse, type GetMediaUploadUrlRequest, type GetMediaUploadUrlResponse, type GetMetricsRequest, type GetMetricsV2Request, type GetModelsRequest, type GetObservationsRequest, type GetObservationsV2Request, type GetPromptRequest, type GetScoreConfigsRequest, type GetScoresRequest, type GetScoresResponse, GetScoresResponseData, type GetScoresResponseDataBoolean, type GetScoresResponseDataCategorical, type GetScoresResponseDataCorrection, type GetScoresResponseDataNumeric, type GetScoresResponseTraceData, type GetSessionsRequest, type GetTracesRequest, type HealthResponse, type IngestionError, IngestionEvent, type IngestionRequest, type IngestionResponse, type IngestionSuccess, type IngestionUsage, LANGFUSE_SDK_EXPERIMENT_ENVIRONMENT, LANGFUSE_SDK_NAME, LANGFUSE_SDK_VERSION, LANGFUSE_TRACER_NAME, LangfuseAPIClient, LangfuseAPIError, LangfuseAPITimeoutError, LangfuseMedia, type LangfuseMediaParams, LangfuseOtelContextKeys, LangfuseOtelSpanAttributes, type ListDatasetRunItemsRequest, type ListPromptsMetaRequest, type ListUsersRequest, LlmAdapter, type LlmConnection, LogLevel, Logger, type LoggerConfig, type MapValue, MediaContentType, type MembershipDeletionResponse, type MembershipRequest, type MembershipResponse, MembershipRole, type MembershipsResponse, MethodNotAllowedError, type MetricsResponse, type MetricsV2Response, type Model, type ModelPrice, ModelUsageUnit, NotFoundError, type NumericScore, type NumericScoreV1, type Observation, type ObservationBody, ObservationLevel, ObservationType, type Observations$1 as Observations, type ObservationsV2Meta, type ObservationsV2Response, type ObservationsView, type ObservationsViews, type OpenAiCompletionUsageSchema, type OpenAiResponseUsageSchema, type OpenAiUsage, type OptionalObservationBody, type Organization, type OrganizationApiKey, type OrganizationApiKeysResponse, type OrganizationProject, type OrganizationProjectsResponse, type OtelAttribute, type OtelAttributeValue, type OtelResource, type OtelResourceSpan, type OtelScope, type OtelScopeSpan, type OtelSpan, type OtelTraceRequest, type OtelTraceResponse, type PaginatedAnnotationQueueItems, type PaginatedAnnotationQueues, type PaginatedDatasetItems, type PaginatedDatasetRunItems, type PaginatedDatasetRuns, type PaginatedDatasets, type PaginatedLlmConnections, type PaginatedModels, type PaginatedSessions, type ParsedMediaReference, type PatchMediaBody, type PlaceholderMessage, type PricingTier, type PricingTierCondition, type PricingTierInput, PricingTierOperator, type Project, type ProjectDeletionResponse, type Projects$1 as Projects, Prompt, type PromptMeta, type PromptMetaListResponse, PromptType, type PropagateAttributesParams, type ResourceMeta, type ResourceType, type ResourceTypesResponse, type SchemaExtension, type SchemaResource, type SchemasResponse, type ScimEmail, type ScimFeatureSupport, type ScimName, type ScimUser, type ScimUsersListResponse, Score$1 as Score, type ScoreBody, type ScoreConfig, ScoreConfigDataType, type ScoreConfigs$1 as ScoreConfigs, ScoreDataType, type ScoreEvent, ScoreSource, ScoreV1, type SdkLogBody, type SdkLogEvent, type ServiceProviderConfig, ServiceUnavailableError, type Session, type SessionWithTraces, type Sort, type TextPrompt, type Trace$1 as Trace, type TraceBody, type TraceEvent, type TraceWithDetails, type TraceWithFullDetails, type Traces, UnauthorizedError, type UpdateAnnotationQueueItemRequest, type UpdateEventBody, type UpdateGenerationBody, type UpdateGenerationEvent, type UpdateObservationEvent, type UpdateProjectRequest, type UpdatePromptRequest, type UpdateScoreConfigRequest, type UpdateSpanBody, type UpdateSpanEvent, type UpsertLlmConnectionRequest, type Usage, type UsageDetails, type UserMeta, index$s as annotationQueues, base64Decode, base64Encode, base64ToBytes, index$r as blobStorageIntegrations, bytesToBase64, index$q as comments, index$p as commons, configureGlobalLogger, createExperimentId, createExperimentItemId, createLogger, index$o as datasetItems, index$n as datasetRunItems, index$m as datasets, generateUUID, getEnv, getGlobalLogger, getPropagatedAttributesFromContext, index$l as health, index$k as ingestion, index$j as llmConnections, LoggerSingleton as logger, index$i as media, index$g as metrics, index$h as metricsV2, index$f as models, index$d as observations, index$e as observationsV2, index$c as opentelemetry, index$b as organizations, index$a as projects, index as promptVersion, index$9 as prompts, propagateAttributes, resetGlobalLogger, safeSetTimeout, index$8 as scim, index$5 as score, index$7 as scoreConfigs, index$6 as scoreV2, serializeValue, index$4 as sessions, index$3 as trace, index$1 as utils };
|
|
8409
|
+
export { AccessDeniedError, type AnnotationQueue, type AnnotationQueueAssignmentRequest, type AnnotationQueueItem, AnnotationQueueObjectType, AnnotationQueueStatus, type ApiKeyDeletionResponse, type ApiKeyList, type ApiKeyResponse, type ApiKeySummary, type AuthenticationScheme, type BaseEvent, type BasePrompt, type BaseScore, type BaseScoreV1, BlobStorageExportFrequency, BlobStorageExportMode, type BlobStorageIntegrationDeletionResponse, BlobStorageIntegrationFileType, type BlobStorageIntegrationResponse, BlobStorageIntegrationType, type BlobStorageIntegrationsResponse, type BooleanScore, type BooleanScoreV1, type BulkConfig, type CategoricalScore, type CategoricalScoreV1, type ChatMessage, ChatMessageType, type ChatMessageWithPlaceholders, type ChatPrompt, type Comment, CommentObjectType, type ConfigCategory, type CorrectionScore, type CreateAnnotationQueueAssignmentResponse, type CreateAnnotationQueueItemRequest, type CreateAnnotationQueueRequest, type CreateApiKeyRequest, type CreateBlobStorageIntegrationRequest, type CreateChatPromptRequest, CreateChatPromptType, type CreateCommentRequest, type CreateCommentResponse, type CreateDatasetItemRequest, type CreateDatasetRequest, type CreateDatasetRunItemRequest, type CreateEventBody, type CreateEventEvent, type CreateGenerationBody, type CreateGenerationEvent, type CreateModelRequest, type CreateObservationEvent, type CreateProjectRequest, type CreatePromptRequest, type CreateScoreConfigRequest, type CreateScoreRequest, type CreateScoreResponse, type CreateScoreValue, type CreateSpanBody, type CreateSpanEvent, type CreateTextPromptRequest, CreateTextPromptType, type CreateUserRequest, type Dataset, type DatasetItem, type DatasetRun, type DatasetRunItem, type DatasetRunWithItems, DatasetStatus, type DeleteAnnotationQueueAssignmentResponse, type DeleteAnnotationQueueItemResponse, type DeleteDatasetItemResponse, type DeleteDatasetRunResponse, type DeleteMembershipRequest, type DeletePromptRequest, type DeleteTraceResponse, type DeleteTracesRequest, type EmptyResponse, Error$1 as Error, type FilterConfig, type GetAnnotationQueueItemsRequest, type GetAnnotationQueuesRequest, type GetCommentsRequest, type GetCommentsResponse, type GetDatasetItemsRequest, type GetDatasetRunsRequest, type GetDatasetsRequest, type GetLlmConnectionsRequest, type GetMediaResponse, type GetMediaUploadUrlRequest, type GetMediaUploadUrlResponse, type GetMetricsRequest, type GetMetricsV2Request, type GetModelsRequest, type GetObservationsRequest, type GetObservationsV2Request, type GetPromptRequest, type GetScoreConfigsRequest, type GetScoresRequest, type GetScoresResponse, GetScoresResponseData, type GetScoresResponseDataBoolean, type GetScoresResponseDataCategorical, type GetScoresResponseDataCorrection, type GetScoresResponseDataNumeric, type GetScoresResponseTraceData, type GetSessionsRequest, type GetTracesRequest, type HealthResponse, type IngestionError, IngestionEvent, type IngestionRequest, type IngestionResponse, type IngestionSuccess, type IngestionUsage, LANGFUSE_SDK_EXPERIMENT_ENVIRONMENT, LANGFUSE_SDK_NAME, LANGFUSE_SDK_VERSION, LANGFUSE_TRACER_NAME, LangfuseAPIClient, LangfuseAPIError, LangfuseAPITimeoutError, LangfuseMedia, type LangfuseMediaParams, LangfuseOtelContextKeys, LangfuseOtelSpanAttributes, type ListDatasetRunItemsRequest, type ListPromptsMetaRequest, type ListUsersRequest, LlmAdapter, type LlmConnection, LogLevel, Logger, type LoggerConfig, type MapValue, MediaContentType, type MembershipDeletionResponse, type MembershipRequest, type MembershipResponse, MembershipRole, type MembershipsResponse, MethodNotAllowedError, type MetricsResponse, type MetricsV2Response, type Model, type ModelPrice, ModelUsageUnit, NotFoundError, type NumericScore, type NumericScoreV1, type Observation, type ObservationBody, ObservationLevel, ObservationType, type ObservationV2, type Observations$1 as Observations, type ObservationsV2Meta, type ObservationsV2Response, type ObservationsView, type ObservationsViews, type OpenAiCompletionUsageSchema, type OpenAiResponseUsageSchema, type OpenAiUsage, type OptionalObservationBody, type Organization, type OrganizationApiKey, type OrganizationApiKeysResponse, type OrganizationProject, type OrganizationProjectsResponse, type OtelAttribute, type OtelAttributeValue, type OtelResource, type OtelResourceSpan, type OtelScope, type OtelScopeSpan, type OtelSpan, type OtelTraceRequest, type OtelTraceResponse, type PaginatedAnnotationQueueItems, type PaginatedAnnotationQueues, type PaginatedDatasetItems, type PaginatedDatasetRunItems, type PaginatedDatasetRuns, type PaginatedDatasets, type PaginatedLlmConnections, type PaginatedModels, type PaginatedSessions, type ParsedMediaReference, type PatchMediaBody, type PlaceholderMessage, PlaceholderMessageType, type PricingTier, type PricingTierCondition, type PricingTierInput, PricingTierOperator, type Project, type ProjectDeletionResponse, type Projects$1 as Projects, Prompt, type PromptMeta, type PromptMetaListResponse, PromptType, type PropagateAttributesParams, type ResourceMeta, type ResourceType, type ResourceTypesResponse, type SchemaExtension, type SchemaResource, type SchemasResponse, type ScimEmail, type ScimFeatureSupport, type ScimName, type ScimUser, type ScimUsersListResponse, Score$1 as Score, type ScoreBody, type ScoreConfig, ScoreConfigDataType, type ScoreConfigs$1 as ScoreConfigs, ScoreDataType, type ScoreEvent, ScoreSource, ScoreV1, type SdkLogBody, type SdkLogEvent, type ServiceProviderConfig, ServiceUnavailableError, type Session, type SessionWithTraces, type Sort, type TextPrompt, type Trace$1 as Trace, type TraceBody, type TraceEvent, type TraceWithDetails, type TraceWithFullDetails, type Traces, UnauthorizedError, type UpdateAnnotationQueueItemRequest, type UpdateEventBody, type UpdateGenerationBody, type UpdateGenerationEvent, type UpdateObservationEvent, type UpdateProjectRequest, type UpdatePromptRequest, type UpdateScoreConfigRequest, type UpdateSpanBody, type UpdateSpanEvent, type UpsertLlmConnectionRequest, type Usage, type UsageDetails, type UserMeta, index$s as annotationQueues, base64Decode, base64Encode, base64ToBytes, index$r as blobStorageIntegrations, bytesToBase64, index$q as comments, index$p as commons, configureGlobalLogger, createExperimentId, createExperimentItemId, createLogger, index$o as datasetItems, index$n as datasetRunItems, index$m as datasets, generateUUID, getEnv, getGlobalLogger, getPropagatedAttributesFromContext, index$l as health, index$k as ingestion, index$j as llmConnections, LoggerSingleton as logger, index$i as media, index$g as metrics, index$h as metricsV2, index$f as models, index$d as observations, index$e as observationsV2, index$c as opentelemetry, index$b as organizations, index$a as projects, index as promptVersion, index$9 as prompts, propagateAttributes, resetGlobalLogger, safeSetTimeout, index$8 as scim, index$5 as score, index$7 as scoreConfigs, index$6 as scoreV2, serializeValue, index$4 as sessions, index$3 as trace, index$1 as utils };
|
package/dist/index.mjs
CHANGED
|
@@ -87,7 +87,10 @@ var LogLevel = /* @__PURE__ */ ((LogLevel2) => {
|
|
|
87
87
|
return LogLevel2;
|
|
88
88
|
})(LogLevel || {});
|
|
89
89
|
function parseLogLevelFromEnv() {
|
|
90
|
+
var _a2;
|
|
90
91
|
if (typeof process === "object" && "env" in process) {
|
|
92
|
+
if (((_a2 = getEnv("LANGFUSE_DEBUG")) == null ? void 0 : _a2.toLowerCase()) === "true")
|
|
93
|
+
return 0 /* DEBUG */;
|
|
91
94
|
const envValue = getEnv("LANGFUSE_LOG_LEVEL");
|
|
92
95
|
const value = (envValue != null ? envValue : "").toUpperCase();
|
|
93
96
|
switch (value) {
|
|
@@ -270,7 +273,7 @@ var resetGlobalLogger = () => {
|
|
|
270
273
|
// package.json
|
|
271
274
|
var package_default = {
|
|
272
275
|
name: "@langfuse/core",
|
|
273
|
-
version: "
|
|
276
|
+
version: "5.0.0-beta.0",
|
|
274
277
|
description: "Core functions and utilities for Langfuse packages",
|
|
275
278
|
type: "module",
|
|
276
279
|
sideEffects: false,
|
|
@@ -774,6 +777,10 @@ var projects_exports = {};
|
|
|
774
777
|
// src/api/api/resources/prompts/index.ts
|
|
775
778
|
var prompts_exports = {};
|
|
776
779
|
__export(prompts_exports, {
|
|
780
|
+
ChatMessageType: () => ChatMessageType,
|
|
781
|
+
CreateChatPromptType: () => CreateChatPromptType,
|
|
782
|
+
CreateTextPromptType: () => CreateTextPromptType,
|
|
783
|
+
PlaceholderMessageType: () => PlaceholderMessageType,
|
|
777
784
|
PromptType: () => PromptType
|
|
778
785
|
});
|
|
779
786
|
|
|
@@ -783,6 +790,26 @@ var PromptType = {
|
|
|
783
790
|
Text: "text"
|
|
784
791
|
};
|
|
785
792
|
|
|
793
|
+
// src/api/api/resources/prompts/types/ChatMessageType.ts
|
|
794
|
+
var ChatMessageType = {
|
|
795
|
+
Chatmessage: "chatmessage"
|
|
796
|
+
};
|
|
797
|
+
|
|
798
|
+
// src/api/api/resources/prompts/types/PlaceholderMessageType.ts
|
|
799
|
+
var PlaceholderMessageType = {
|
|
800
|
+
Placeholder: "placeholder"
|
|
801
|
+
};
|
|
802
|
+
|
|
803
|
+
// src/api/api/resources/prompts/types/CreateChatPromptType.ts
|
|
804
|
+
var CreateChatPromptType = {
|
|
805
|
+
Chat: "chat"
|
|
806
|
+
};
|
|
807
|
+
|
|
808
|
+
// src/api/api/resources/prompts/types/CreateTextPromptType.ts
|
|
809
|
+
var CreateTextPromptType = {
|
|
810
|
+
Text: "text"
|
|
811
|
+
};
|
|
812
|
+
|
|
786
813
|
// src/api/api/resources/scim/index.ts
|
|
787
814
|
var scim_exports = {};
|
|
788
815
|
|
|
@@ -9121,18 +9148,18 @@ var Prompts = class {
|
|
|
9121
9148
|
*
|
|
9122
9149
|
* @example
|
|
9123
9150
|
* await client.prompts.create({
|
|
9124
|
-
* type: "chat",
|
|
9125
9151
|
* name: "name",
|
|
9126
9152
|
* prompt: [{
|
|
9127
|
-
* type: "chatmessage",
|
|
9128
9153
|
* role: "role",
|
|
9129
|
-
* content: "content"
|
|
9154
|
+
* content: "content",
|
|
9155
|
+
* type: undefined
|
|
9130
9156
|
* }, {
|
|
9131
|
-
* type: "chatmessage",
|
|
9132
9157
|
* role: "role",
|
|
9133
|
-
* content: "content"
|
|
9158
|
+
* content: "content",
|
|
9159
|
+
* type: undefined
|
|
9134
9160
|
* }],
|
|
9135
9161
|
* config: undefined,
|
|
9162
|
+
* type: "chat",
|
|
9136
9163
|
* labels: undefined,
|
|
9137
9164
|
* tags: undefined,
|
|
9138
9165
|
* commitMessage: undefined
|
|
@@ -10615,7 +10642,8 @@ var ScoreV2 = class {
|
|
|
10615
10642
|
queueId,
|
|
10616
10643
|
dataType,
|
|
10617
10644
|
traceTags,
|
|
10618
|
-
fields
|
|
10645
|
+
fields,
|
|
10646
|
+
filter
|
|
10619
10647
|
} = request;
|
|
10620
10648
|
const _queryParams = {};
|
|
10621
10649
|
if (page != null) {
|
|
@@ -10686,6 +10714,9 @@ var ScoreV2 = class {
|
|
|
10686
10714
|
if (fields != null) {
|
|
10687
10715
|
_queryParams["fields"] = fields;
|
|
10688
10716
|
}
|
|
10717
|
+
if (filter != null) {
|
|
10718
|
+
_queryParams["filter"] = filter;
|
|
10719
|
+
}
|
|
10689
10720
|
let _headers = mergeHeaders(
|
|
10690
10721
|
(_a2 = this._options) == null ? void 0 : _a2.headers,
|
|
10691
10722
|
mergeOnlyDefinedHeaders({
|
|
@@ -12562,7 +12593,10 @@ export {
|
|
|
12562
12593
|
BlobStorageExportMode,
|
|
12563
12594
|
BlobStorageIntegrationFileType,
|
|
12564
12595
|
BlobStorageIntegrationType,
|
|
12596
|
+
ChatMessageType,
|
|
12565
12597
|
CommentObjectType,
|
|
12598
|
+
CreateChatPromptType,
|
|
12599
|
+
CreateTextPromptType,
|
|
12566
12600
|
DatasetStatus,
|
|
12567
12601
|
Error2 as Error,
|
|
12568
12602
|
LANGFUSE_SDK_EXPERIMENT_ENVIRONMENT,
|
|
@@ -12585,6 +12619,7 @@ export {
|
|
|
12585
12619
|
NotFoundError,
|
|
12586
12620
|
ObservationLevel,
|
|
12587
12621
|
ObservationType,
|
|
12622
|
+
PlaceholderMessageType,
|
|
12588
12623
|
PricingTierOperator,
|
|
12589
12624
|
PromptType,
|
|
12590
12625
|
ScoreConfigDataType,
|