Skip to content

Commit 949a5dd

Browse files
committed
tags and description changed for templates
1 parent f5ea3ea commit 949a5dd

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

app/main.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -768,15 +768,15 @@ async def get_model_id_filtered():
768768
async def get_use_cases():
769769
"""Get available use cases"""
770770
return {
771-
"usecases": [
772-
{"id": UseCase.CODE_GENERATION, "name": "Code Generation", "description": "Generates paired programming questions and fully-worked answers that include runnable, well-formatted code plus concise explanations. Ideal for building Q-and-A datasets across programming languages like Python.", "tag": ["Supervised Finetuning", "LLM"]},
773-
{"id": UseCase.TEXT2SQL, "name": "Text to SQL", "description": "Creates natural-language questions matched to clean, executable SQL queries (with optional brief clarifications) spanning basics, joins, aggregates, subqueries, and window functions. Ensures each pair is consistently formatted for training or evaluation.", "tag": ["Supervised Finetuning", "LLM"]},
774-
{"id": UseCase.CUSTOM, "name": "Custom", "description": "A blank template meant for any user-defined synthetic data task.", "tag":[]},
775-
{"id": UseCase.LENDING_DATA, "name": "Lending Data", "description": "Produces realistic LendingClub-style loan records—complete borrower, loan, and credit-profile fields—while respecting privacy and intricate cross-field logic (grades, DTI, employment, etc.). Useful for credit-risk modeling or analytics demos.", "tag": ["Tabular Data", "Machine Learning"]},
776-
{"id": UseCase.CREDIT_CARD_DATA, "name": "Credit Card Data", "description": "Synthesizes comprehensive user profiles plus chronological credit-status histories, maintaining ID consistency and plausibly evolving payment behavior. Designed for training credit-scoring models without exposing real customer information.", "tag": ["Tabular Data", "Machine Learning"]},
777-
{"id": UseCase.TICKETING_DATASET, "name": "Ticketing Dataset", "description": "Generates polite, professional customer-support prompts and assigns a single classification intent (cancel_ticket, customer_service, or report_payment_issue). Perfect for intent-classification or help-desk automation training.", "tag": ["Tabular Data", "Machine Learning"]},
778-
]
779-
}
771+
"usecases": [
772+
{"id": UseCase.CODE_GENERATION, "name": "Code Generation", "description": "Generates paired programming questions and answers with runnable, well-formatted code plus explanations. Ideal for building Q-and-A datasets across programming languages like Python.", "tag": ["Supervised Finetuning", "Data Generation"]},
773+
{"id": UseCase.TEXT2SQL, "name": "Text to SQL", "description": "Creates natural-language questions matched to clean, executable SQL queries spanning basics, joins, aggregates, subqueries, and window functions. Great for training and evaluation.", "tag": ["Supervised Finetuning", "Data Generation"]},
774+
{"id": UseCase.CUSTOM, "name": "Custom", "description": "A blank template meant for any user-defined synthetic data task.", "tag": []},
775+
{"id": UseCase.LENDING_DATA, "name": "Lending Data", "description": "Produces realistic LendingClub-style loan records—complete borrower, loan, and credit-profile fields—while respecting privacy and intricate cross-field logic (grades, DTI, employment, etc.).", "tag": ["Data Generation", "Tabular Data"]},
776+
{"id": UseCase.CREDIT_CARD_DATA, "name": "Credit Card Data", "description": "Builds user profiles with chronological credit-status histories, maintaining ID consistency and evolving payment behavior. Supports training for credit scoring models without real user data.", "tag": ["Data Generation", "Tabular Data"]},
777+
{"id": UseCase.TICKETING_DATASET, "name": "Ticketing Dataset", "description": "Generates support queries with labelled ticket classification intent (cancel_ticket, customer_service, or report_payment_issue). Perfect for intent-classification or help-desk automation training.", "tag": ["Data Generation", "Intent Classification"]},
778+
]
779+
}
780780

781781
@app.get("/model/parameters", include_in_schema=True)
782782
async def get_model_parameters() -> Dict:

0 commit comments

Comments
 (0)