Class PromptConstant

java.lang.Object
com.alibaba.cloud.ai.prompt.PromptConstant

public class PromptConstant extends Object
提示词常量类,动态加载提示词文件
Author:
zhangshenghang
  • Field Details

    • INIT_REWRITE_PROMPT_TEMPLATE

      @Deprecated public static final org.springframework.ai.chat.prompt.PromptTemplate INIT_REWRITE_PROMPT_TEMPLATE
      Deprecated.
    • QUESTION_TO_KEYWORDS_PROMPT_TEMPLATE

      @Deprecated public static final org.springframework.ai.chat.prompt.PromptTemplate QUESTION_TO_KEYWORDS_PROMPT_TEMPLATE
      Deprecated.
    • MIX_SELECTOR_PROMPT_TEMPLATE

      @Deprecated public static final org.springframework.ai.chat.prompt.PromptTemplate MIX_SELECTOR_PROMPT_TEMPLATE
      Deprecated.
    • MIX_SQL_GENERATOR_SYSTEM_PROMPT_TEMPLATE

      @Deprecated public static final org.springframework.ai.chat.prompt.PromptTemplate MIX_SQL_GENERATOR_SYSTEM_PROMPT_TEMPLATE
      Deprecated.
    • MIX_SQL_GENERATOR_PROMPT_TEMPLATE

      @Deprecated public static final org.springframework.ai.chat.prompt.PromptTemplate MIX_SQL_GENERATOR_PROMPT_TEMPLATE
      Deprecated.
    • EXTRACT_DATETIME_PROMPT_TEMPLATE

      @Deprecated public static final org.springframework.ai.chat.prompt.PromptTemplate EXTRACT_DATETIME_PROMPT_TEMPLATE
      Deprecated.
    • SEMANTIC_CONSISTENCY_PROMPT_TEMPLATE

      @Deprecated public static final org.springframework.ai.chat.prompt.PromptTemplate SEMANTIC_CONSISTENCY_PROMPT_TEMPLATE
      Deprecated.
    • MIX_SQL_GENERATOR_SYSTEM_PROMPT_CHECK_TEMPLATE

      @Deprecated public static final org.springframework.ai.chat.prompt.PromptTemplate MIX_SQL_GENERATOR_SYSTEM_PROMPT_CHECK_TEMPLATE
      Deprecated.
  • Constructor Details

    • PromptConstant

      public PromptConstant()
  • Method Details

    • getInitRewritePromptTemplate

      public static org.springframework.ai.chat.prompt.PromptTemplate getInitRewritePromptTemplate()
    • getQuestionToKeywordsPromptTemplate

      public static org.springframework.ai.chat.prompt.PromptTemplate getQuestionToKeywordsPromptTemplate()
    • getMixSelectorPromptTemplate

      public static org.springframework.ai.chat.prompt.PromptTemplate getMixSelectorPromptTemplate()
    • getMixSqlGeneratorSystemPromptTemplate

      public static org.springframework.ai.chat.prompt.PromptTemplate getMixSqlGeneratorSystemPromptTemplate()
    • getMixSqlGeneratorPromptTemplate

      public static org.springframework.ai.chat.prompt.PromptTemplate getMixSqlGeneratorPromptTemplate()
    • getExtractDatetimePromptTemplate

      public static org.springframework.ai.chat.prompt.PromptTemplate getExtractDatetimePromptTemplate()
    • getSemanticConsistencyPromptTemplate

      public static org.springframework.ai.chat.prompt.PromptTemplate getSemanticConsistencyPromptTemplate()
    • getMixSqlGeneratorSystemCheckPromptTemplate

      public static org.springframework.ai.chat.prompt.PromptTemplate getMixSqlGeneratorSystemCheckPromptTemplate()
    • getPlannerPromptTemplate

      public static org.springframework.ai.chat.prompt.PromptTemplate getPlannerPromptTemplate()
    • getReportGeneratorPromptTemplate

      public static org.springframework.ai.chat.prompt.PromptTemplate getReportGeneratorPromptTemplate()
    • getSqlErrorFixerPromptTemplate

      public static org.springframework.ai.chat.prompt.PromptTemplate getSqlErrorFixerPromptTemplate()
    • getPythonGeneratorPromptTemplate

      public static org.springframework.ai.chat.prompt.PromptTemplate getPythonGeneratorPromptTemplate()
    • getPythonAnalyzePromptTemplate

      public static org.springframework.ai.chat.prompt.PromptTemplate getPythonAnalyzePromptTemplate()
    • getQuestionExpansionPromptTemplate

      public static org.springframework.ai.chat.prompt.PromptTemplate getQuestionExpansionPromptTemplate()
    • getBusinessKnowledgePromptTemplate

      public static org.springframework.ai.chat.prompt.PromptTemplate getBusinessKnowledgePromptTemplate()
    • getSemanticModelPromptTemplate

      public static org.springframework.ai.chat.prompt.PromptTemplate getSemanticModelPromptTemplate()