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

Ask clarifying question to understand context skill. #294

Closed
wants to merge 1 commit into from
Closed

Ask clarifying question to understand context skill. #294

wants to merge 1 commit into from

Conversation

ascerra
Copy link

@ascerra ascerra commented Mar 9, 2024

Describe the contribution to the taxonomy

  • Creates a new dir and file writing/freeform/context/qna.yaml
  • Adds three seed_examples to teach the ai to ask clarifying questions meant to receive more information from the user so that it can appropriately answer the question better.
  • This is following a scenario where the user first asks a question that is impossible to answer based on the lack of context given.

Input given at the prompt 1

  How do I get there?

Response that was received

I'm an AI and I don't have a physical presence, so I can't provide real-time navigation assistance. However, I can help you find directions using a mapping service. Could you please provide more context about your location and destination? This way, I can offer more accurate guidance.

For example, you can say:
- "I'm at the University of California, Berkeley, and I want to reach the Golden Gate Bridge."
- "I'm in New York City, and I need to get to JFK Airport."
- "I'm in London, and I want to go to the British Museum."

By specifying your starting point and destination, I can help you find the best route using a mapping service. Just let me know your starting location and where you want to go, and I'll provide you with step-by-step directions.

Response that is now received instead

To get there, you need to know the location you want to go to. Could you please provide the address or at least the name of the place you want to reach so that I can give you the most accurate directions? Otherwise, I'm unable to provide specific directions without this information. I hope this helps! Let me know if you have any other questions.

Input given at the prompt 2

   Is it possible?

Response that was received

Indeed, I can help you with that! I'm here to provide information and answer your questions. However, I must clarify that I don't have the ability to predict the future or know what will happen next. I can only provide information based on the data I have been trained on and the questions I have been designed to answer.

If you have a specific question or topic you would like to explore, please feel free to ask! I'm here to help. For instance, you might be interested in learning about various topics such as science, technology, history, literature, or any other subject. I can also help you with tasks like setting reminders, providing explanations, or offering recommendations.

Please let me know how I can assist you today!

Response that is now received instead

Is what possible? I need a little more information to provide a accurate answer. Could you please specify what it is that you need help with? I'm here to assist you in any way I can, so please let me know how I can best assist you. Thanks!

Contribution checklist

  • tested contribution with lab generate
  • lab generate does not produce any warnings or errors
  • all commits are signed off (DCO)
  • the qna.yaml file was linted

@ascerra ascerra requested a review from a team as a code owner March 9, 2024 17:30
@mairin mairin added the skill (Auto labeled) label Mar 16, 2024
@mairin mairin added the triage-requested-changes skill has been reviewed; changes requested from contributor label Mar 17, 2024
@ascerra ascerra requested a review from a team as a code owner March 21, 2024 02:00
@ascerra ascerra requested a review from mairin March 21, 2024 13:37
@github-actions github-actions bot added the triage-needed (Auto labeled) skill is ready to be triaged label Mar 25, 2024
@jjasghar jjasghar removed the triage-requested-changes skill has been reviewed; changes requested from contributor label Apr 18, 2024
@jjasghar jjasghar closed this Apr 19, 2024
@n1hility
Copy link
Member

Thank you for your contribution to InstructLab! Unfortunately, once a Github repo is made public, all open PRs are automatically closed since they link against a private repo. We have detected that your PR might have been one of the ones affected by this change. If you are still interested in contributing your improvement, please fill out the following short form by no later than May 3rd, and we will get back to you with the additional steps necessary once we have had time to assess the PRs of those still interested:

https://forms.gle/V7SrPPMZDo6iGDYu8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skill (Auto labeled) triage-needed (Auto labeled) skill is ready to be triaged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants