rreganjr / requel-ng

New direction for Requel
GNU General Public License v3.0
0 stars 0 forks source link

LLM assistant - prompt development #1

Open rreganjr opened 11 months ago

rreganjr commented 11 months ago

using https://huggingface.co/tiiuae/falcon-7b-instruct

Prompt:

what are the key points I should make when specifying the scope of an application for tracking a persons weight over time?

Response:

Some key points to consider when specifying the scope of an application for tracking a person's weight over time include:

1. Accuracy: The application should be able to accurately track weight changes and provide accurate data.

2. Timeframe: The application should be able to track weight changes over a long period of time, such as a year or more.

3. Data storage: The application should be able to store and process large amounts of data, including weight data.

4. User interface: The application should have a user-friendly interface that allows users to easily enter and view weight data.

5. Security: The application should be able to securely store and process sensitive data, such as weight data.

6. Data analysis: The application should be able to analyze weight data and provide insights to users.

7. Compatibility: The application should be compatible with a variety of devices and platforms, such as mobile devices and web browsers.
rreganjr commented 11 months ago

Prompt:

You are a requirements engineer for a software company that creates a web application for managing and presenting video events. Employees manage events and the general public attends the events. Existing management features include: creating an event, editing an event, scheduling an event, listing an event in a menu, listing questions asked for an event, answering questions. Existing participant features include: selecting an event from a  menu, playing a video, pausing a video, restarting a video, asking a question.
A business person at your company has an idea for a new feature that needs formal requirements.
Given the following feature description in quotes, return a list of 5 questions to ask the business person to help them elaborate on the requirements.
"I want to add a section to our app that allows participants to see questions asked and answers given for an event."

using ChatGPT 3.5 Response:

Certainly! To gather more detailed requirements for the new feature, you can ask the business person the following questions:

User Access and Visibility:

Who should have access to this new section? Is it available to all participants, or are there specific user roles that should be able to view the questions and answers?
Content Scope:

What type of information should be displayed for each question and answer? Are we showing the username of the person who asked the question, the time it was asked, or any other metadata? Similarly, should the answers display the responder's information?
Sorting and Filtering:

How should the questions and answers be sorted? Are we displaying them chronologically, by popularity, or based on some other criteria? Additionally, do users need the ability to filter questions by specific criteria, such as unanswered questions or questions from a particular time frame?
Interaction with Questions:

What actions should participants be able to take regarding questions? Can they 'like' or 'upvote' questions? Can they report inappropriate content? Should there be a way to mark a question as answered or highlight important questions?
Integration with Existing Features:

How should this new section integrate with the existing features of the app? For instance, if a participant asks a question while watching a video, should there be a link from the video player to the questions section, or should the questions be displayed alongside the video?
These questions aim to clarify the scope, user interactions, and integration aspects of the new feature, helping ensure a comprehensive set of requirements for development.

Using https://huggingface.co/tiiuae/falcon-7b-instruct Response:

1. What type of questions and answers are you looking to display? (e.g. general, specific, open-ended, multiple choice, etc.)
2. How frequently do you anticipate users asking questions during an event? (e.g. often, rarely, etc.)
3. Will the questions and answers be time-sensitive or evergreen? (e.g. time-sensitive, evergreen, etc.)
4. Are there any privacy concerns with displaying questions and answers? (e.g. sensitive information, personal details, etc.)
5. Are there any existing tools or frameworks that can be used to implement this feature? (e.g. existing libraries, plugins, etc.)

Using https://huggingface.co/spaces/h2oai/h2ogpt-chatbot (falcon-40b)

Sure, here are 5 questions you can ask the business person to help elaborate on the requirements for the new feature:

What type of questions do you envision participants being able to see in this section? Would it be limited to questions asked during the event, or would it also include questions asked before or after the event?
How would the questions and answers be organized in the section? Would they be displayed in a list, a table, or some other format? Would they be grouped by category or topic, or would they be displayed chronologically?
How would participants be able to access the section? Would it be available only during the event, or would it be accessible before or after the event as well? Would participants need to log in or have a specific role to access the section?
What information would be displayed along with the questions and answers? Would it include the name or username of the person asking the question, the date and time the question was asked, or any other relevant details?
Are there any specific use cases or scenarios that you have in mind for this feature? For example, would it be used primarily for Q&A sessions during live events, or would it also be
rreganjr commented 11 months ago

Prompt:

You are a requirements engineer for a software company that creates a web application for managing and presenting video events. Employees manage events and the general public attends the events. Existing management features include: creating an event, editing an event, scheduling an event, listing an event in a menu, listing questions asked for an event, answering questions. Existing participant features include: selecting an event from a  menu, playing a video, pausing a video, restarting a video, asking a question.
A business person at your company has an idea for a new feature that needs formal requirements.
Given the following feature description in quotes, return a use case in the form of alternating user actions and system responses.
"I want to add a section to our app that allows participants to see questions asked and answers given for an event."

using ChatGPT 3.5 Response:

**Use Case: Viewing Questions and Answers for an Event**

1. **User Action:**
   - Participant navigates to the event details page.

2. **System Response:**
   - The system displays the event details, including basic information about the event and a new section labeled "Questions and Answers."

3. **User Action:**
   - Participant clicks on the "Questions and Answers" section.

4. **System Response:**
   - The system presents a list of questions asked for the event, including relevant details such as the username of the person who asked each question and the time it was asked.

5. **User Action:**
   - Participant clicks on a specific question to view its details and any associated answers.

6. **System Response:**
   - The system expands the selected question, displaying the question's content, the username of the person who asked it, and the time it was asked. Any answers to the question are also shown, including the responder's username and the time each answer was provided.

7. **User Action:**
   - Participant scrolls through the list of questions and answers or uses sorting/filtering options to find specific content.

8. **System Response:**
   - The system dynamically updates the displayed questions and answers based on the participant's actions, allowing them to navigate through the content efficiently.

9. **User Action:**
   - Participant utilizes sorting options to arrange questions chronologically or by popularity.

10. **System Response:**
    - The system reorganizes the list of questions and answers according to the selected sorting criteria.

11. **User Action:**
    - Participant applies a filter to view only unanswered questions or questions from a specific time frame.

12. **System Response:**
    - The system adjusts the displayed content, showing only the questions that meet the specified filter criteria.

This use case outlines the step-by-step interactions between the participant and the system when accessing the new "Questions and Answers" feature for an event in the web application.

Using https://huggingface.co/tiiuae/falcon-7b-instruct

User

Using https://huggingface.co/spaces/h2oai/h2ogpt-chatbot (falcon-40b)

Sure! Here's a use case for the new feature:

Title: Viewing Questions and Answers for an Event

Primary Actor: Participant

Goal: To view questions asked and answers given for an event

Preconditions:

The participant is logged in to the app
The participant has selected an event from the menu
The event has questions and answers associated with it
Triggers: The participant wants to view questions and answers for the selected event

Description:

Participant selects the "View Questions and Answers" button on the event details page.
System displays a list of all questions asked for the event, along with their answers.
Participant selects a question from the list.
System displays the question and its corresponding answer.
Participant selects the "Back" button to return to the list of questions.
System displays the list of questions again.
Participant selects the "Ask a Question" button.
System displays a form for the participant to enter their question.
Participant enters their

note: the response was cut off