You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/guide/prompts_create.md
+1-43Lines changed: 1 addition & 43 deletions
Original file line number
Diff line number
Diff line change
@@ -114,49 +114,7 @@ From the Prompts page, click **Create Prompt** in the upper right and then compl
114
114
115
115
!!! note Eligible projects
116
116
Target projects must meet the following criteria:
117
-
* The project must include text data. While it can include other data types such as images or video, it must include `<Text>`.
118
117
* You must have access to the project. If you are in the Manager role, you need to be added to the project to have access.
119
118
* The project cannot be located in your Personal Sandbox workspace.
120
119
* While projects connected to an ML backend will still appear in the list of eligible projects, we do not recommend using Prompts with an ML backend as this can interfere with how accuracy and score are calculated when evaluating the prompt.
121
-
122
-
## Example project types
123
-
124
-
### Text classification
125
-
126
-
Text classification is the process of assigning predefined categories or labels to segments of text based on their content. This involves analyzing the text and determining which category or label best describes its subject, sentiment, or purpose. The goal is to organize and categorize textual data in a way that makes it easier to analyze, search, and utilize.
127
-
128
-
Text classification labeling tasks are fundamental in many applications, enabling efficient data organization, improving searchability, and providing valuable insights through data analysis. Some examples include:
129
-
130
-
***Spam Detection**: Classifying emails as "spam" or "ham" (not spam).
131
-
***Sentiment Analysis**: Categorizing user reviews as "positive," "negative," or "neutral."
132
-
***Topic Categorization**: Assigning articles to categories like "politics," "sports," "technology," etc.
133
-
***Support Ticket Classification**: Labeling customer support tickets based on the issue type, such as "billing," "technical support," or "account management."
134
-
***Content Moderation**: Identifying and labeling inappropriate content on social media platforms, such as "offensive language," "hate speech," or "harassment."
135
-
136
-
### Named entity recognition (NER)
137
-
138
-
A Named Entity Recognition (NER) labeling task involves identifying and classifying named entities within text. For example, people, organizations, locations, dates, and other proper nouns. The goal is to label these entities with predefined categories that make the text easier to analyze and understand. NER is commonly used in tasks like information extraction, text summarization, and content classification.
139
-
140
-
For example, in the sentence "Heidi Opossum goes grocery shopping at Aldi in Miami" the NER task would involve identifying "Aldi" as a place or organization, "Heidi Opossum" as a person (even though, to be precise, she is an iconic opossum), and "Miami" as a location. Once labeled, this structured data can be used for various purposes such as improving search functionality, organizing information, or training machine learning models for more complex natural language processing tasks.
141
-
142
-
NER labeling is crucial for industries such as finance, healthcare, and legal services, where accurate entity identification helps in extracting key information from large amounts of text, improving decision-making, and automating workflows.
143
-
144
-
Some examples include:
145
-
146
-
***News and Media Monitoring**: Media organizations use NER to automatically tag and categorize entities such as people, organizations, and locations in news articles. This helps in organizing news content, enabling efficient search and retrieval, and generating summaries or reports.
147
-
***Intelligence and Risk Analysis**: By extracting entities such as personal names, organizations, IP addresses, and financial transactions from suspicious activity reports or communications, organizations can better assess risks and detect fraud or criminal activity.
148
-
***Specialized Document Review**: Once trained, NER can help extract industry-specific key entities for better document review, searching, and classification.
149
-
***Customer Feedback and Product Review**: Extract named entities like product names, companies, or services from customer feedback or reviews. This allows businesses to categorize and analyze feedback based on specific products, people, or regions, helping them make data-driven improvements.
150
-
151
-
### Text summarization
152
-
153
-
Text summarization involves condensing large amounts of information into concise, meaningful summaries.
154
-
155
-
Models can be trained or fine-tuned to recognize essential information within a document and generate summaries that retain the core ideas while omitting less critical details. This capability is especially valuable in today’s information-heavy landscape, where professionals across various fields are often overwhelmed by the sheer volume of text data.
156
-
157
-
Some examples include:
158
-
159
-
***Customer Support and Feedback Analysis**: Companies receive vast volumes of customer support tickets, reviews, and feedback that are often repetitive or lengthy. Auto-labeling can help summarize these inputs, focusing on core issues or themes, such as “billing issues” or “technical support.”
160
-
***News Aggregation and Media Monitoring**: News organizations and media monitoring platforms need to process and distribute news stories efficiently. Auto-labeling can summarize articles while tagging them with labels like “politics,” “economy,” or “health,” making it easier for users to find relevant stories.
161
-
***Document Summarization**: Professionals often need to quickly understand the key points in lengthy contracts, research papers, and files.
162
-
***Educational Content Summarization**: EEducators and e-learning platforms need to distill complex material into accessible summaries for students. Auto-labeling can summarize key topics and categorize them under labels like “concept,” “example,” or “important fact.”
Copy file name to clipboardExpand all lines: docs/source/guide/prompts_draft.md
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -166,6 +166,15 @@ The cost to run the prompt based on the number of tokens required.
166
166
</tr>
167
167
</table>
168
168
169
+
### Classification reports
170
+
171
+
Click **Expand** to view classification reports for the Prompt. Thee reports tell you how many times each class was identified. This is available for the following tags:
172
+
173
+
`Choices`
174
+
`Labels`
175
+
`Pairwise`
176
+
`Rating`
177
+
169
178
## Enhance prompt
170
179
171
180
You can use **Enhance Prompt** to help you construct and auto-refine your prompts.
0 commit comments