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.
Interface: SerializedLlmSpan
Defined in: src/types/logging/span.types.ts
Extends
Indexable
[key: string]:
| undefined
| string
| number
| boolean
| {
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[]
| JsonArray
| Record<string, string>[]
| object[]
| Record<string, string>[]
| SingleMetricValue[]
| Record<string, SingleMetricValue>
Properties
createdAt
Defined in: src/types/logging/step.types.ts
Inherited from
SerializedStep.createdAt
optional datasetInput: string;
Defined in: src/types/logging/step.types.ts
Inherited from
SerializedStep.datasetInput
optional datasetMetadata: Record<string, string>;
Defined in: src/types/logging/step.types.ts
Inherited from
SerializedStep.datasetMetadata
datasetOutput?
optional datasetOutput: string;
Defined in: src/types/logging/step.types.ts
Inherited from
SerializedStep.datasetOutput
externalId?
optional externalId: string;
Defined in: src/types/logging/step.types.ts
Inherited from
SerializedStep.externalId
id?
Defined in: src/types/logging/step.types.ts
Inherited from
SerializedStep.id
optional input: StepAllowedInputType;
Defined in: src/types/logging/step.types.ts
Inherited from
SerializedStep.input
optional metadata: Record<string, string>;
Defined in: src/types/logging/step.types.ts
Inherited from
SerializedStep.metadata
metrics?
optional metrics: object;
Defined in: src/types/logging/span.types.ts
durationNs?
optional durationNs: number;
optional numCachedInputTokens: number;
optional numInputTokens: number;
numOutputTokens?
optional numOutputTokens: number;
numReasoningTokens?
optional numReasoningTokens: number;
numTotalTokens?
optional numTotalTokens: number;
timeToFirstTokenNs?
optional timeToFirstTokenNs: number;
Overrides
SerializedStep.metrics
name?
Defined in: src/types/logging/step.types.ts
Inherited from
SerializedStep.name
output?
optional output:
| JsonArray
| StepAllowedOutputType;
Defined in: src/types/logging/step.types.ts
Inherited from
SerializedStep.output
optional redactedInput: StepAllowedInputType;
Defined in: src/types/logging/step.types.ts
Inherited from
SerializedStep.redactedInput
redactedOutput?
optional redactedOutput:
| JsonArray
| StepAllowedOutputType;
Defined in: src/types/logging/step.types.ts
Inherited from
SerializedStep.redactedOutput
statusCode?
optional statusCode: number;
Defined in: src/types/logging/step.types.ts
Inherited from
SerializedStep.statusCode
stepNumber?
optional stepNumber: number;
Defined in: src/types/logging/step.types.ts
Inherited from
SerializedStep.stepNumber
Defined in: src/types/logging/step.types.ts
Inherited from
SerializedStep.tags
type
type:
| "agent"
| "llm"
| "retriever"
| "tool"
| "workflow"
| "control"
| "trace"
| "session";
Defined in: src/types/logging/step.types.ts
Inherited from
SerializedStep.type
userMetadata: Record<string, string>;
Defined in: src/types/logging/step.types.ts
Inherited from
SerializedStep.userMetadata