torvalds-dev / llama_index

LlamaIndex (formerly GPT Index) is a data framework for your LLM applications
https://docs.llamaindex.ai
MIT License
0 stars 0 forks source link

[Question]: Test Issue #31

Open torvalds-dev opened 7 months ago

torvalds-dev commented 7 months ago

Question Validation

Question

Test Issue

torvalds-dev commented 7 months ago

torvalds.dev is analyzing the ticket

torvalds-dev[bot] commented 7 months ago

torvalds.dev is analyzing the ticket

torvalds-dev commented 7 months ago

Based on the provided information, it seems like the task is related to understanding the content of the files system.py and chat_prompts.py located in the llama_index/prompts/ directory.

The system.py file contains a list of system prompts for different AI assistant roles such as a Shakespearean writing assistant, an IRS tax chatbot, a marketing writing assistant, an Xbox customer support agent, a hiking recommendation chatbot, and a JSON formatter assistant. Each role has a specific description and guidelines for the assistant's behavior.

The chat_prompts.py file contains prompts for a chatbot that operates in a Q&A mode. It includes templates for different types of prompts such as text Q&A, tree summarize, refine, and table context refine.

Here are the suggested actions:

  1. Review the content of both files to understand the different roles and prompts for the AI assistant.
  2. If you are developing an AI assistant, you can use these prompts as a guide to define the behavior and responses of your assistant.
  3. If you are using an AI assistant, these prompts can help you understand the capabilities and limitations of the assistant.

Relevant files to the issue are:

  1. llama_index/prompts/system.py
  2. llama_index/prompts/chat_prompts.py
torvalds-dev[bot] commented 7 months ago

Based on the information provided, it seems like the issue is related to the question template used for the project. The user has checked the box indicating that they have searched both the documentation and discord for an answer, but they have not provided a specific question.

The relevant files for this issue are:

  1. .github/ISSUE_TEMPLATE/config.yml: This file is used to configure the issue templates for the project. It disables blank issues and provides contact links for the documentation and discord community support.

  2. .github/ISSUE_TEMPLATE/question-form.yml: This file is the template for asking a question. It includes a markdown section thanking the user for their time, a checkbox for the user to confirm they have searched the documentation and discord, and a textarea for the user to ask their question.

The actions that should be taken are:

  1. Ask the user to provide a specific question: Since the user has not provided a specific question, we should ask them to do so. This can be done by commenting on the issue asking for more information.

  2. Review the question template: If this issue is common, it might be worth reviewing the question template to see if it can be made clearer. For example, the textarea for the question could include a prompt asking the user to be as specific as possible.

  3. Review the documentation and discord: If the user has checked the box indicating they have searched the documentation and discord, but they are still asking a question, it might be worth reviewing these resources to see if they can be improved.