lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
42.09k stars 9.49k forks source link

[Request] Advanced Prompting Option for LobeChat #2816

Open xenstar opened 3 months ago

xenstar commented 3 months ago

🥰 Feature Description

The proposed feature is an advanced prompting option in LoBeChat that allows users to customize their prompts with specific requirements quicker without needing multiple agents. This feature aims to enhance the user experience by providing a more tailored and efficient way to interact with the chatbot.

🧐 Proposed Solution

Add an "Advanced Prompting" icon in the chatbox that, when hovered over, displays a dropdown menu with four options:

  1. Output Format
  2. Tone
  3. Writing Style
  4. Language

image

Each option has a list of sub-options (detailed below) that users can select from.

When a user selects one or more options, the prompt is rewritten to include the chosen specifications. For example:

Benefits of magnesium glycinate. (this is actual promt), below it will add

Please respond in [Tone], [Writing Format], [Language]. Answer in [Output Format]

If you are confused about it, let me know, I can make a video to explain it, how it will work.

📝 Additional Information

Detailed Lists for Each Option:

Output Format:

Concise Step-by-step Extreme Detail ELI5 Essay Report Summary Table FAQ Listicle Interview Review News Opinion Tutorial Case Study Profile Blog Poem Script Whitepaper Ebook Press Release Infographic Webinar Podcast Script Email Campaign Social Media Post Proposal Brochure Newsletter Presentation Product Description Research Paper Speech Memo Policy Document User guide Technical documentation Q&A First Principles Thinking Feynman Technique

Tone:

Authoritative Clinical Cold Confident Cynical Emotional Empathetic Formal Friendly Humorous Informal Ironic Optimistic Pessimistic Playful Sarcastic Serious Sympathetic Tentative Warm

Writing Style:

Academic Analytical Argumentative Conversational Creative Critical Descriptive Epigrammatic Epistolary Expository Informative Instructive Journalistic Metaphorical Narrative Persuasive Poetic Satirical Technical

Language:

English Spanish French German Chinese Japanese Indonesian Bengali Korean Russian Arabic Portuguese

lobehubbot commented 3 months ago

👀 @xenstar

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。