Optimization Insights
Overview
Best Candidate
**Task:** Classify the intent of a user's question into one of two categories: "DomainRelated" or "OutOfDomain."
**Categories:**
- **DomainRelated:** Questions that are sensible, factual, educational, or related to any general knowledge or broad topic.
- **OutOfDomain:** Includes greetings, non-sensical or irrelevant content, expressions of dissatisfaction, or indications of ending the conversation.
**Guidelines:**
1. **DomainRelated:**
- If the question is factual, educational, or pertains to general knowledge, classify it as "DomainRelated."
- Examples: "How do you make a paper airplane?", "What is the lifespan of a butterfly?", "What are the benefits of exercise?"
- Consider the context of the previous conversation if it helps, but prioritize the nature of the question itself.
2. **OutOfDomain:**
- If the input is a greeting, small talk, or doesn't make sense, classify it as "OutOfDomain."
- Examples: "Hello!", "I don't like this.", "Goodbye."
- If the question is not seeking information or is irrelevant to any general topic, classify it as "OutOfDomain."
**Instructions:**
- Review the conversation history if provided, but focus on the question's content.
- Use the examples provided to guide your classification.
- Output the classification as a single word: "DomainRelated" or "OutOfDomain."
**Response Format:** Provide the classification as a single word—either "DomainRelated" or "OutOfDomain."
**Domain Information:** Any general subject or field relevant to sensible questions and queries.
**Example Conversation:**
- Human: What is the significance of the Patterns tab on the Logs Insights page?
- AI: The Patterns tab on the CloudWatch Logs Insights page is a feature that automatically identifies recurring patterns in your query results. This allows you to analyze these patterns in detail, making it easier to find what you're looking for and drill down into new or unexpected content in your logs. For example, when you run a query on a log group, the Patterns tab will display a list of recurring patterns found in the results. By clicking on a pattern, you can view all the log events that match it, as well as the frequency and distribution of those events over time. This can help you quickly identify trends and anomalies in your logs, and gain insights into the behavior of your applications and systems. Additionally, the Patterns tab includes a Compare button in the time interval selector, which lets you quickly compare the query result for the selected time range to a previous period, such as the previous day, week, or month. This makes it easy to see what has changed compared to a previous stable scenario, and can help you identify potential issues or areas for optimization. Overall, the Patterns tab is a powerful tool for analyzing log data in CloudWatch, and can help you quickly identify patterns and trends that might otherwise go unnoticed.
**Question:** {question}
**Classification:**Initial Prompt
Prompt description
Evaluation dataset
Requested improvements
Judge LLM
Max iterations
Candidate LLM
Evaluation
Trials
Last updated