-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GPT Visual support in testing suite (#372)
* Add GPT Visual support in testing suite * Support for local storage backend
- Loading branch information
Showing
13 changed files
with
260 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Generated by Django 4.2.5 on 2023-10-15 10:23 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("ayushma", "0045_testrun_references"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="testquestion", | ||
name="attachments", | ||
field=models.ManyToManyField(blank=True, to="ayushma.document"), | ||
), | ||
] |
37 changes: 37 additions & 0 deletions
37
ayushma/migrations/0047_rename_attachments_testquestion_documents_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Generated by Django 4.2.5 on 2023-10-15 10:47 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("ayushma", "0046_testquestion_attachments"), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name="testquestion", | ||
old_name="attachments", | ||
new_name="documents", | ||
), | ||
migrations.AddField( | ||
model_name="document", | ||
name="test_question", | ||
field=models.ForeignKey( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.PROTECT, | ||
to="ayushma.testquestion", | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="document", | ||
name="project", | ||
field=models.ForeignKey( | ||
null=True, | ||
on_delete=django.db.models.deletion.PROTECT, | ||
to="ayushma.project", | ||
), | ||
), | ||
] |
41 changes: 41 additions & 0 deletions
41
ayushma/migrations/0048_alter_chat_model_alter_project_model.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Generated by Django 4.2.5 on 2023-10-18 05:50 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("ayushma", "0047_rename_attachments_testquestion_documents_and_more"), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="chat", | ||
name="model", | ||
field=models.IntegerField( | ||
blank=True, | ||
choices=[ | ||
(1, "Gpt 3 5"), | ||
(2, "Gpt 3 5 16K"), | ||
(3, "Gpt 4"), | ||
(4, "Gpt 4 32K"), | ||
(5, "Gpt 4 Visual"), | ||
], | ||
null=True, | ||
), | ||
), | ||
migrations.AlterField( | ||
model_name="project", | ||
name="model", | ||
field=models.IntegerField( | ||
choices=[ | ||
(1, "Gpt 3 5"), | ||
(2, "Gpt 3 5 16K"), | ||
(3, "Gpt 4"), | ||
(4, "Gpt 4 32K"), | ||
(5, "Gpt 4 Visual"), | ||
], | ||
default=1, | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.