Skip to content

通用参数中 OPENAI_PROMPT 功能增强 #19360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
ZHA30 opened this issue Jun 12, 2025 · 1 comment
Open
1 task done

通用参数中 OPENAI_PROMPT 功能增强 #19360

ZHA30 opened this issue Jun 12, 2025 · 1 comment
Labels
RSS enhancement New feature or request to existing RSS

Comments

@ZHA30
Copy link

ZHA30 commented Jun 12, 2025

这是一个什么样的功能?

  • 允许在环境变量中设置多个提示词
  • 提供针对不同类型的订阅源采用不同的提示词、提示词组合的功能

想法:

OPENAI_PROMPT_1="总结..."
OPENAI_PROMPT_2="关键词..."
/meituan/tech/home?chatgpt=1
/meituan/tech/home?chatgpt=2
/meituan/tech/home?chatgpt=1_2

这个功能可以解决什么问题?

现在只能设置一段提示词,无法针对不同类型的网站做出特殊调整

额外描述

No response

这不是重复的功能请求和 RSS 提案

@ZHA30 ZHA30 added the RSS enhancement New feature or request to existing RSS label Jun 12, 2025
@ZHA30
Copy link
Author

ZHA30 commented Jun 12, 2025

  • 发现现在已经支持对标题和内容采用不同的提示词
    openai: {
        apiKey?: string;
        model?: string;
        temperature?: number;
        maxTokens?: number;
        endpoint: string;
        inputOption: string;
        promptTitle: string;
        promptDescription: string;
    };

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RSS enhancement New feature or request to existing RSS
Projects
None yet
Development

No branches or pull requests

1 participant