Langfuse JS/TS SDKs
    Preparing search index...

    Type Alias LangfuseObservationType

    LangfuseObservationType:
        | "span"
        | "generation"
        | "event"
        | "embedding"
        | "agent"
        | "tool"
        | "chain"
        | "retriever"
        | "evaluator"
        | "guardrail"

    Types of observations that can be created in Langfuse.

    • span: General-purpose observations for tracking operations, functions, or logical units of work
    • generation: Specialized observations for LLM calls with model parameters, usage, and costs
    • event: Point-in-time occurrences or log entries within a trace