Skip to content

Commit

Permalink
Merge pull request anthropics#3 from davehansen/typo/categories-context
Browse files Browse the repository at this point in the history
fix: correct typos in categorization prompt
  • Loading branch information
alexalbertt authored Sep 10, 2024
2 parents ce89eed + deaa969 commit 85e36dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion customer-support-agent/app/api/chat/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ export async function POST(req: Request) {

const categoriesContext = USE_CATEGORIES
? `
To help with our internal classification of inquries, we would like you to categorize inquiries in addition to answering the. We have provided you with ${customerSupportCategories.categories.length} customer support categories.
To help with our internal classification of inquiries, we would like you to categorize inquiries in addition to answering them. We have provided you with ${customerSupportCategories.categories.length} customer support categories.
Check if your response fits into any category and include the category IDs in your "matched_categories" array.
The available categories are: ${categoryListString}
If multiple categories match, include multiple category IDs. If no categories match, return an empty array.
Expand Down

0 comments on commit 85e36dd

Please sign in to comment.