Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.galileo.ai/llms.txt

Use this file to discover all available pages before exploring further.


Class: BaseStep

Defined in: src/types/logging/step.types.ts

Extended by

Constructors

Constructor

new BaseStep(type:
  | "agent"
  | "llm"
  | "retriever"
  | "tool"
  | "workflow"
  | "control"
  | "trace"
  | "session", data: BaseStepOptions): BaseStep;
Defined in: src/types/logging/step.types.ts

Parameters

type
"agent" | "llm" | "retriever" | "tool" | "workflow" | "control" | "trace" | "session"
data
BaseStepOptions

Returns

BaseStep

Properties

createdAt

createdAt: Date;
Defined in: src/types/logging/step.types.ts

datasetInput?

optional datasetInput: string;
Defined in: src/types/logging/step.types.ts

datasetMetadata?

optional datasetMetadata: Record<string, string> = {};
Defined in: src/types/logging/step.types.ts

datasetOutput?

optional datasetOutput: string;
Defined in: src/types/logging/step.types.ts

externalId?

optional externalId: string;
Defined in: src/types/logging/step.types.ts

id

id: string;
Defined in: src/types/logging/step.types.ts

input?

optional input: StepAllowedInputType;
Defined in: src/types/logging/step.types.ts

metrics

metrics: Metrics;
Defined in: src/types/logging/step.types.ts

name

name: string = "";
Defined in: src/types/logging/step.types.ts

output?

optional output: StepAllowedOutputType;
Defined in: src/types/logging/step.types.ts

redactedInput?

optional redactedInput: StepAllowedInputType;
Defined in: src/types/logging/step.types.ts

redactedOutput?

optional redactedOutput: StepAllowedOutputType;
Defined in: src/types/logging/step.types.ts

statusCode?

optional statusCode: number;
Defined in: src/types/logging/step.types.ts

stepNumber?

optional stepNumber: number;
Defined in: src/types/logging/step.types.ts

tags?

optional tags: string[];
Defined in: src/types/logging/step.types.ts

type

type:
  | "agent"
  | "llm"
  | "retriever"
  | "tool"
  | "workflow"
  | "control"
  | "trace"
  | "session";
Defined in: src/types/logging/step.types.ts

userMetadata

userMetadata: Record<string, string> = {};
Defined in: src/types/logging/step.types.ts

Methods

toJSON()

toJSON(): SerializedStep;
Defined in: src/types/logging/step.types.ts

Returns

SerializedStep

validateInputOutputSerializable()

validateInputOutputSerializable<T>(val: T): T;
Defined in: src/types/logging/step.types.ts

Type Parameters

T
T = | string | { content: | string | ( | { text: string; type: "text"; } | { file_id: string; type: "file"; })[]; role: | "function" | "agent" | "tool" | "assistant" | "developer" | "system" | "user"; tool_call_id?: null | string; tool_calls?: null | object[]; } | string[] | Date | Document | Record<string, string> | Document[] | Record<string, string>[] | object[] | Record<string, string>[]

Parameters

val
T

Returns

T