@microsoft/opentelemetry
    Preparing search index...

    Variable GuardrailTargetTypeConst

    GuardrailTargetType: {
        KnowledgeQuery: "knowledge_query";
        KnowledgeResult: "knowledge_result";
        LlmInput: "llm_input";
        LlmOutput: "llm_output";
        MemoryRetrieve: "memory_retrieve";
        MemoryStore: "memory_store";
        Message: "message";
        ToolCall: "tool_call";
        ToolDefinition: "tool_definition";
    } = ...

    Well-known values for the type of content or action a guardrail is applied to. Custom strings are also accepted.

    Type Declaration

    • ReadonlyKnowledgeQuery: "knowledge_query"

      A query against a knowledge source.

    • ReadonlyKnowledgeResult: "knowledge_result"

      A result returned from a knowledge source.

    • ReadonlyLlmInput: "llm_input"

      Input sent to an LLM.

    • ReadonlyLlmOutput: "llm_output"

      Output produced by an LLM.

    • ReadonlyMemoryRetrieve: "memory_retrieve"

      A read from a memory store.

    • ReadonlyMemoryStore: "memory_store"

      A write to a memory store.

    • ReadonlyMessage: "message"

      A generic message.

    • ReadonlyToolCall: "tool_call"

      A tool invocation.

    • ReadonlyToolDefinition: "tool_definition"

      A tool definition.