You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.6 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. # Generated by Django 3.2.8 on 2021-12-22 04:54
  2. import django.db.models.deletion
  3. from django.db import migrations, models
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ("api", "0026_auto_20220107_0200"),
  7. ]
  8. operations = [
  9. migrations.CreateModel(
  10. name="IntentDetectionAndSlotFillingProject",
  11. fields=[
  12. (
  13. "project_ptr",
  14. models.OneToOneField(
  15. auto_created=True,
  16. on_delete=django.db.models.deletion.CASCADE,
  17. parent_link=True,
  18. primary_key=True,
  19. serialize=False,
  20. to="api.project",
  21. ),
  22. ),
  23. ],
  24. options={
  25. "abstract": False,
  26. "base_manager_name": "objects",
  27. },
  28. bases=("api.project",),
  29. ),
  30. migrations.AlterField(
  31. model_name="project",
  32. name="project_type",
  33. field=models.CharField(
  34. choices=[
  35. ("DocumentClassification", "document classification"),
  36. ("SequenceLabeling", "sequence labeling"),
  37. ("Seq2seq", "sequence to sequence"),
  38. ("IntentDetectionAndSlotFilling", "intent detection and slot filling"),
  39. ("Speech2text", "speech to text"),
  40. ("ImageClassification", "image classification"),
  41. ],
  42. max_length=30,
  43. ),
  44. ),
  45. ]