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" | "trace" | "session", data: BaseStepOptions): BaseStep;
Defined in: src/types/logging/step.types.ts
Parameters
type
"agent" | "llm" | "retriever" | "tool" | "workflow" | "trace" | "session"
data
BaseStepOptions
Returns
BaseStep
Properties
createdAt
Defined in: src/types/logging/step.types.ts
optional datasetInput: string;
Defined in: src/types/logging/step.types.ts
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
optional input: StepAllowedInputType;
Defined in: src/types/logging/step.types.ts
metrics
Defined in: src/types/logging/step.types.ts
name
Defined in: src/types/logging/step.types.ts
output?
optional output: StepAllowedOutputType;
Defined in: src/types/logging/step.types.ts
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
Defined in: src/types/logging/step.types.ts
type
type: "agent" | "llm" | "retriever" | "tool" | "workflow" | "trace" | "session";
Defined in: src/types/logging/step.types.ts
userMetadata: Record<string, string> = {};
Defined in: src/types/logging/step.types.ts
Methods
toJSON()
toJSON(): Record<string, any>;
Defined in: src/types/logging/step.types.ts
Returns
Record<string, any>
validateInputOutputSerializable<T>(val: T): T;
Defined in: src/types/logging/step.types.ts
Type Parameters
T
T =
| string
| {
content: string;
role: | "function"
| "agent"
| "tool"
| "user"
| "assistant"
| "developer"
| "system";
tool_call_id?: null | string;
tool_calls?: null | object[];
}
| string[]
| Document
| Record<string, string>
| Document[]
| Record<string, string>[]
| object[]
| Record<string, string>[]
Parameters
val
T
Returns
T