Skip to content

Commit

Permalink
any typiing
Browse files Browse the repository at this point in the history
  • Loading branch information
maxdeichmann committed Dec 12, 2023
1 parent bc08b81 commit 09740ad
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions langfuse-core/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export type CreateLangfuseTraceBody = {
userId?: string | null;
release?: string | null;
version?: string | null;
metadata?: Record<string, unknown> | null;
metadata?: any; // Record<string, unknown> | null;
/** @description Make trace publicly accessible via url */
public?: boolean | null;
};
Expand All @@ -71,9 +71,9 @@ export type CreateLangfuseEventBody = {
name?: string | null;
/** Format: date-time */
startTime?: Date | null;
metadata?: Record<string, unknown> | null;
input?: Record<string, unknown> | null;
output?: Record<string, unknown> | null;
metadata?: any | null;
input?: any | null;
output?: any | null;
level?: components["schemas"]["ObservationLevel"];
statusMessage?: string | null;
parentObservationId?: string | null;
Expand All @@ -90,8 +90,8 @@ export type CreateLangfuseGenerationBody = {
modelParameters?: {
[key: string]: components["schemas"]["MapValue"] | undefined;
} | null;
prompt?: Record<string, unknown> | null;
completion?: Record<string, unknown> | null;
prompt?: any | null;
completion?: any | null;
usage?: components["schemas"]["Usage"];
} & CreateLangfuseSpanBody;
export type CreateLangfuseScoreBody = {
Expand All @@ -111,9 +111,9 @@ export type UpdateLangfuseSpanBody = {
/** Format: date-time */
endTime?: Date | null;
name?: string | null;
metadata?: Record<string, unknown> | null;
input?: Record<string, unknown> | null;
output?: Record<string, unknown> | null;
metadata?: any | null;
input?: any | null;
output?: any | null;
level?: components["schemas"]["ObservationLevel"];
version?: string | null;
statusMessage?: string | null;
Expand All @@ -132,10 +132,10 @@ export type UpdateLangfuseGenerationBody = {
modelParameters?: {
[key: string]: components["schemas"]["MapValue"] | undefined;
} | null;
prompt?: Record<string, unknown> | null;
prompt?: null;
version?: string | null;
metadata?: Record<string, unknown> | null;
completion?: Record<string, unknown> | null;
metadata?: any | null;
completion?: any | null;
usage?: components["schemas"]["Usage"];
level?: components["schemas"]["ObservationLevel"];
statusMessage?: string | null;
Expand Down

0 comments on commit 09740ad

Please sign in to comment.