Skip to content
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

Add Prompt Templating for Forced Choice Questions/Answers #19

Open
shoutsid opened this issue Oct 18, 2023 · 0 comments
Open

Add Prompt Templating for Forced Choice Questions/Answers #19

shoutsid opened this issue Oct 18, 2023 · 0 comments
Labels

Comments

@shoutsid
Copy link
Owner

Issue 4: Add Prompt Templating for Forced Choice Questions/Answers

Title: Add Prompt Templating for Forced Choice Questions/Answers
Description:
Develop a templating system that can generate forced-choice questions and answers, enhancing the chatbot's ability to guide conversations in a more structured manner.

Context

Conversations often require users to make choices, and guiding them through these decisions can be critical for user experience. A templating system for generating forced-choice questions can streamline this process.

Expected Outcomes

  • Create a templating engine that can generate questions and multiple-choice answers dynamically.
  • Integrate the templating engine into the existing conversation management system.
  • Provide a simple interface for agents to define and use these templates.

Challenges

  • Designing a templating syntax that is both powerful and easy to use.
  • Ensuring that the templating engine can handle various data types and conditional logic.

Recommended Libraries and Frameworks

  • Templating Libraries
    • Use Jinja2 for text-based templating.
    • Consider PyYAML for defining templates in YAML format.

Resources

  • Jinja2 and PyYAML documentation for understanding their capabilities and limitations.
  • Articles on best practices for question design and user experience.
@shoutsid shoutsid added enhancement New feature or request Python templating labels Oct 18, 2023
@shoutsid shoutsid assigned shoutsid and unassigned shoutsid Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 🆕 New
Development

No branches or pull requests

1 participant