Arize Phoenix TS
    Preparing search index...
    interface DeepSeekPromptVersionInput {
        description?: string;
        invocationParameters?: {
            frequency_penalty?: number;
            max_completion_tokens?: number;
            max_tokens?: number;
            presence_penalty?: number;
            reasoning_effort?:
                | "none"
                | "minimal"
                | "low"
                | "medium"
                | "high"
                | "xhigh";
            seed?: number;
            temperature?: number;
            top_p?: number;
        };
        modelName: string;
        modelProvider: "DEEPSEEK";
        template: {
            content: | string
            | (
                | { text: string; type: "text" }
                | {
                    tool_call: { arguments: string; name: string; type: "function" };
                    tool_call_id: string;
                    type: "tool_call";
                }
                | {
                    tool_call_id: string;
                    tool_result: | string
                    | number
                    | boolean
                    | { [key: string]: unknown }
                    | unknown[]
                    | null;
                    type: "tool_result";
                }
            )[];
            role: | "user"
            | "assistant"
            | "model"
            | "ai"
            | "tool"
            | "system"
            | "developer";
        }[];
        templateFormat?: "NONE"
        | "MUSTACHE"
        | "F_STRING";
    }

    Hierarchy

    • PromptVersionInputBase
      • DeepSeekPromptVersionInput
    Index

    Properties

    description?: string

    The description of the prompt version.

    invocationParameters?: {
        frequency_penalty?: number;
        max_completion_tokens?: number;
        max_tokens?: number;
        presence_penalty?: number;
        reasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh";
        seed?: number;
        temperature?: number;
        top_p?: number;
    }

    Type Declaration

    • Optionalfrequency_penalty?: number

      Frequency Penalty

    • Optionalmax_completion_tokens?: number

      Max Completion Tokens

    • Optionalmax_tokens?: number

      Max Tokens

    • Optionalpresence_penalty?: number

      Presence Penalty

    • Optionalreasoning_effort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh"

      Reasoning Effort

    • Optionalseed?: number

      Seed

    • Optionaltemperature?: number

      Temperature

    • Optionaltop_p?: number

      Top P

    modelName: string

    The name of the model to use for the prompt version.

    modelProvider: "DEEPSEEK"
    template: {
        content:
            | string
            | (
                | { text: string; type: "text" }
                | {
                    tool_call: { arguments: string; name: string; type: "function" };
                    tool_call_id: string;
                    type: "tool_call";
                }
                | {
                    tool_call_id: string;
                    tool_result: | string
                    | number
                    | boolean
                    | { [key: string]: unknown }
                    | unknown[]
                    | null;
                    type: "tool_result";
                }
            )[];
        role: | "user"
        | "assistant"
        | "model"
        | "ai"
        | "tool"
        | "system"
        | "developer";
    }[]

    The template for the prompt version. Currently only chat is supported.

    Type Declaration

    • content:
          | string
          | (
              | { text: string; type: "text" }
              | {
                  tool_call: { arguments: string; name: string; type: "function" };
                  tool_call_id: string;
                  type: "tool_call";
              }
              | {
                  tool_call_id: string;
                  tool_result: | string
                  | number
                  | boolean
                  | { [key: string]: unknown }
                  | unknown[]
                  | null;
                  type: "tool_result";
              }
          )[]

      Content

    • role: "user" | "assistant" | "model" | "ai" | "tool" | "system" | "developer"

      Role

    templateFormat?: "NONE" | "MUSTACHE" | "F_STRING"

    The format of the template.

    "MUSTACHE"